diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-03-29 15:21:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-29 15:21:52 +0200 |
commit | 000e8730088ed241439a311c1bd0167f741ffbd1 (patch) | |
tree | f178ebbe6c842324dbc6ababa62a51db267bb55b /platform/javascript/detect.py | |
parent | d4740a98537b1e7dcb6fb48176abdebe27eee83c (diff) | |
parent | 7df7e9cc8bbe25148698f4350123a42e17033881 (diff) | |
download | redot-engine-000e8730088ed241439a311c1bd0167f741ffbd1.tar.gz |
Merge pull request #8191 from eska014/webgl2-export
WebGL 2 export per WebAssembly or asm.js
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r-- | platform/javascript/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 307e47e816..41fe3fb027 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -73,7 +73,7 @@ def configure(env): env.Append(LINKFLAGS=['-O3']) elif (env["target"] == "release_debug"): env.Append(CCFLAGS=['-O2', '-DDEBUG_ENABLED']) - env.Append(LINKFLAGS=['-O2']) + env.Append(LINKFLAGS=['-O2', '-s', 'ASSERTIONS=1']) # retain function names at the cost of file size, for backtraces and profiling env.Append(LINKFLAGS=['--profiling-funcs']) elif (env["target"] == "debug"): |