diff options
-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") |