projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3882708
)
Windows: add -Wno-format to CFLAGS when using MinGW
author
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 11 Feb 2011 01:26:19 +0000
(22:26 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 11 Feb 2011 01:26:19 +0000
(22:26 -0300)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 7db83be15abe5320eeed989ccfb96a344bb89ecf..7d82b4295dc9af1f269fd5d1d9b729c6ef751d10 100644
(file)
--- a/
runtests.py
+++ b/
runtests.py
@@
-416,6
+416,9
@@
class CythonCompileTestCase(unittest.TestCase):
build_extension.finalize_options()
if COMPILER:
build_extension.compiler = COMPILER
+ if (sys.platform == 'win32' and
+ build_extension.compiler == 'mingw32'):
+ CFLAGS.append('-Wno-format')
ext_include_dirs = []
for match, get_additional_include_dirs in EXT_DEP_INCLUDES:
if match(module):