projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b8ea001
)
wscript: add /MD and /D_CRT_SECURE_NO_WARNINGS on windows
author
Paul Brossier
<piem@piem.org>
Sun, 15 May 2016 21:39:48 +0000
(23:39 +0200)
committer
Paul Brossier
<piem@piem.org>
Sun, 15 May 2016 21:39:48 +0000
(23:39 +0200)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
677af27
..
e91ea27
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-119,7
+119,8
@@
def configure(ctx):
if ctx.env.CC_NAME != 'msvc':
ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
else:
if ctx.env.CC_NAME != 'msvc':
ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
else:
- ctx.env.CFLAGS += ['/W4']
+ ctx.env.CFLAGS += ['/W4', '/MD']
+ ctx.env.CFLAGS += ['/D_CRT_SECURE_NO_WARNINGS']
ctx.check_cc(lib='m', uselib_store='M', mandatory=False)
ctx.check_cc(lib='m', uselib_store='M', mandatory=False)