summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/distutils/mingw32ccompiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/mingw32ccompiler.py b/numpy/distutils/mingw32ccompiler.py
index ca67a87f1..ba51ec9f6 100644
--- a/numpy/distutils/mingw32ccompiler.py
+++ b/numpy/distutils/mingw32ccompiler.py
@@ -95,8 +95,8 @@ class Mingw32CCompiler(distutils.cygwinccompiler.CygwinCCompiler):
# % (self.linker, entry_point))
if get_build_architecture() == 'AMD64':
self.set_executables(
- compiler='gcc -mno-cygwin -O2 -Wall',
- compiler_so='gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes',
+ compiler='gcc -mno-cygwin -O0 -Wall',
+ compiler_so='gcc -mno-cygwin -O0 -Wall -Wstrict-prototypes',
linker_exe='gcc -mno-cygwin',
linker_so='gcc -mno-cygwin -shared')
else: