diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2016-01-09 16:47:25 +0100 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2016-01-09 16:47:25 +0100 |
commit | 7fd1eb44c3b73f233073ac260311316c0f9d0675 (patch) | |
tree | 32e16bce11c681f120cfc716de8048facf390216 /numpy | |
parent | dce2b4e1beb3a68bd66ddc9b793cca2c8d493de0 (diff) | |
parent | f54ed5d5ebaada0a214076977cc6c11484edd099 (diff) | |
download | numpy-7fd1eb44c3b73f233073ac260311316c0f9d0675.tar.gz |
Merge pull request #6978 from kpsychas/patch-1
BLD: fix build error for mingw32 compiler on Windows
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/setup_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index e0cb3f630..57ddf3396 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -192,7 +192,7 @@ def check_long_double_representation(cmd): if sys.platform == "win32" and not mingw32(): try: cmd.compiler.compile_options.remove("/GL") - except ValueError: + except (AttributeError, ValueError): pass # We need to use _compile because we need the object filename |