diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-03-14 01:27:17 -0700 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-05-26 20:12:46 -0700 |
commit | 852fc4819c60f392652caca7398c4558765b4c12 (patch) | |
tree | 1d04299506a1787971982b52e5dc49671442fd57 | |
parent | 1a19b607881311e7a30bbedab2bb49fa45019250 (diff) | |
download | pycrypto-852fc4819c60f392652caca7398c4558765b4c12.tar.gz |
Win32: Remove obsolete -mno-cygwin option from mingw32 build
-rw-r--r-- | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -118,6 +118,10 @@ class PCTBuildExt (build_ext): # Make assert() statements always work self.__remove_compiler_option("-DNDEBUG") + # mingw32's compiler no longer supports this option + if self.compiler.compiler_type == 'mingw32': + self.__remove_compiler_option("-mno-cygwin") + if USE_GCOV: # TODO - move this to configure.ac self.__add_compiler_option("-fprofile-arcs") self.__add_compiler_option("-ftest-coverage") |