Merge pull request #8191 from eska014/webgl2-export

WebGL 2 export per WebAssembly or asm.js
This commit is contained in:
Juan Linietsky
2017-03-29 15:21:52 +02:00
committed by GitHub
11 changed files with 282 additions and 448 deletions

View File

@ -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"):