wscript : remove emscripten default -Oz flag
authorMartin Hermant <martin.hermant@gmail.com>
Mon, 29 May 2017 14:46:34 +0000 (10:46 -0400)
committerMartin Hermant <martin.hermant@gmail.com>
Mon, 29 May 2017 14:46:34 +0000 (10:46 -0400)
wscript

diff --git a/wscript b/wscript
index e630327..91d4ebe 100644 (file)
--- a/wscript
+++ b/wscript
@@ -228,7 +228,6 @@ def configure(ctx):
     if target_platform == 'emscripten':
         import os.path
         ctx.env.CFLAGS += [ '-I' + os.path.join(os.environ['EMSCRIPTEN'], 'system', 'include') ]
-        ctx.env.CFLAGS += ['-Oz']
         ctx.env.cprogram_PATTERN = "%s.js"
         if (ctx.options.enable_atlas != True):
             ctx.options.enable_atlas = False