diff options
| author | eska | 2017-03-28 03:21:21 +0200 |
|---|---|---|
| committer | eska | 2017-03-29 13:27:43 +0200 |
| commit | 7df7e9cc8bbe25148698f4350123a42e17033881 (patch) | |
| tree | 1352fd16ae9cb0142f2ae7e3d0395e877716da90 /platform/javascript/detect.py | |
| parent | efaeebab4d83e5657288b7b20db6ce4ccf987a01 (diff) | |
| download | godot-7df7e9cc8bbe25148698f4350123a42e17033881.tar.gz godot-7df7e9cc8bbe25148698f4350123a42e17033881.tar.zst godot-7df7e9cc8bbe25148698f4350123a42e17033881.zip | |
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 f82eae9ff..d7c34b7c2 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"): |
