From 578d3a2304f3f69ea6c8aafd28ebd3c2d3439a73 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 24 Dec 2016 10:37:42 +0100 Subject: [PATCH] wscript: remove trailing spaces --- wscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wscript b/wscript index 02b2db68..be43c256 100644 --- a/wscript +++ b/wscript @@ -135,12 +135,12 @@ def configure(ctx): 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,14 +148,14 @@ def configure(ctx): 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'] - + ctx.check_cc(lib='m', uselib_store='M', mandatory=False) if target_platform not in ['win32', 'win64']: -- 2.11.0