aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/detect.py
diff options
context:
space:
mode:
authorJuan Linietsky2017-03-29 15:21:52 +0200
committerGitHub2017-03-29 15:21:52 +0200
commit000e8730088ed241439a311c1bd0167f741ffbd1 (patch)
treef178ebbe6c842324dbc6ababa62a51db267bb55b /platform/javascript/detect.py
parentd4740a98537b1e7dcb6fb48176abdebe27eee83c (diff)
parent7df7e9cc8bbe25148698f4350123a42e17033881 (diff)
downloadgodot-000e8730088ed241439a311c1bd0167f741ffbd1.tar.gz
godot-000e8730088ed241439a311c1bd0167f741ffbd1.tar.zst
godot-000e8730088ed241439a311c1bd0167f741ffbd1.zip
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 307e47e81..41fe3fb02 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"):