projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e79943b
)
wscript: remove trailing spaces
author
Paul Brossier
<piem@piem.org>
Sat, 24 Dec 2016 09:37:42 +0000
(10:37 +0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 24 Dec 2016 09:37:42 +0000
(10:37 +0100)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
02b2db6
..
be43c25
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-135,12
+135,12
@@
def configure(ctx):
ctx.define('DEBUG', 1)
else:
ctx.define('NDEBUG', 1)
ctx.define('DEBUG', 1)
else:
ctx.define('NDEBUG', 1)
-
+
if ctx.env.CC_NAME != 'msvc':
# enable debug symbols and configure warnings
ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
if ctx.options.build_type == "release":
if ctx.env.CC_NAME != 'msvc':
# enable debug symbols and configure warnings
ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
if ctx.options.build_type == "release":
- # set optimization level
+ # set optimization level
ctx.env.CFLAGS += ['-O2']
else:
# enable debug symbols
ctx.env.CFLAGS += ['-O2']
else:
# enable debug symbols
@@
-148,14
+148,14
@@
def configure(ctx):
ctx.env.LINKFLAGS += ['/DEBUG', '/INCREMENTAL:NO']
# configure warnings
ctx.env.CFLAGS += ['/W4', '/D_CRT_SECURE_NO_WARNINGS']
ctx.env.LINKFLAGS += ['/DEBUG', '/INCREMENTAL:NO']
# configure warnings
ctx.env.CFLAGS += ['/W4', '/D_CRT_SECURE_NO_WARNINGS']
- # set optimization level and runtime libs
+ # set optimization level and runtime libs
if (ctx.options.build_type == "release"):
ctx.env.CFLAGS += ['/Ox']
ctx.env.CFLAGS += ['/MD']
else:
assert(ctx.options.build_type == "debug")
ctx.env.CFLAGS += ['/MDd']
if (ctx.options.build_type == "release"):
ctx.env.CFLAGS += ['/Ox']
ctx.env.CFLAGS += ['/MD']
else:
assert(ctx.options.build_type == "debug")
ctx.env.CFLAGS += ['/MDd']
-
+
ctx.check_cc(lib='m', uselib_store='M', mandatory=False)
if target_platform not in ['win32', 'win64']:
ctx.check_cc(lib='m', uselib_store='M', mandatory=False)
if target_platform not in ['win32', 'win64']: