From 7df7e9cc8bbe25148698f4350123a42e17033881 Mon Sep 17 00:00:00 2001 From: eska Date: Tue, 28 Mar 2017 03:21:21 +0200 Subject: WebGL 2 export per WebAssembly or asm.js --- platform/javascript/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/javascript/detect.py') 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"): -- cgit v1.2.3-70-g09d2