ref: 578d3a2304f3f69ea6c8aafd28ebd3c2d3439a73
parent: e79943b00d5c456d63f5e223bba3d631fd0857f5
author: Paul Brossier <piem@piem.org>
date: Sat Dec 24 05:37:42 EST 2016
wscript: remove trailing spaces
--- a/wscript
+++ b/wscript
@@ -135,12 +135,12 @@
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":
- # set optimization level
+ # set optimization level
ctx.env.CFLAGS += ['-O2']
else:
# enable debug symbols
@@ -148,7 +148,7 @@
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']
@@ -155,7 +155,7 @@
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']:
--
⑨