summaryrefslogtreecommitdiffstats
path: root/platform/javascript/detect.py
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-03-29 15:21:52 +0200
committerGitHub <noreply@github.com>2017-03-29 15:21:52 +0200
commit000e8730088ed241439a311c1bd0167f741ffbd1 (patch)
treef178ebbe6c842324dbc6ababa62a51db267bb55b /platform/javascript/detect.py
parentd4740a98537b1e7dcb6fb48176abdebe27eee83c (diff)
parent7df7e9cc8bbe25148698f4350123a42e17033881 (diff)
downloadredot-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.py2
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"):