1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

WebGL 2 export per WebAssembly or asm.js

This commit is contained in:
eska
2017-03-28 03:21:21 +02:00
parent efaeebab4d
commit 7df7e9cc8b
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"):