diff options
author | Michael Hirsch <scivision@users.noreply.github.com> | 2020-06-01 12:29:32 -0400 |
---|---|---|
committer | Michael Hirsch <scivision@users.noreply.github.com> | 2020-06-02 12:28:11 -0400 |
commit | 6deecb9e5a13a51f2e27a7af34aa1868f0330f6a (patch) | |
tree | fec9d86584a6468a95d039c497a2474562e23e92 /numpy/array_api/_array_object.py | |
parent | 211d5c193113f3e49e18422bd9926db9fb07f78b (diff) | |
download | numpy-6deecb9e5a13a51f2e27a7af34aa1868f0330f6a.tar.gz |
BUG: gcc >= 10: correctly compare major version
The comparison of GCC major version used a string
comparison, which is known to break when comparing
single vs. double version numbers. This fix
compares the integer of the major GCC version.
Before this fix, GCC/Gfortran 10 would get inappropriate
flag "-mno-cygwin" applied, which was removed in GCC 4
and makes GCC error out.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions