You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
[HTML5] Update syntax for lto.
This commit is contained in:
@@ -85,7 +85,8 @@ def configure(env):
|
|||||||
if env["use_lto"]:
|
if env["use_lto"]:
|
||||||
env.Append(CCFLAGS=["-s", "WASM_OBJECT_FILES=0"])
|
env.Append(CCFLAGS=["-s", "WASM_OBJECT_FILES=0"])
|
||||||
env.Append(LINKFLAGS=["-s", "WASM_OBJECT_FILES=0"])
|
env.Append(LINKFLAGS=["-s", "WASM_OBJECT_FILES=0"])
|
||||||
env.Append(LINKFLAGS=["--llvm-lto", "1"])
|
env.Append(CCFLAGS=["-flto"])
|
||||||
|
env.Append(LINKFLAGS=["-flto"])
|
||||||
|
|
||||||
# Closure compiler
|
# Closure compiler
|
||||||
if env["use_closure_compiler"]:
|
if env["use_closure_compiler"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user