mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
[HTML5] Update syntax for lto.
This commit is contained in:
parent
10e69f5fa9
commit
a7ecb3c048
1 changed files with 2 additions and 1 deletions
|
|
@ -85,7 +85,8 @@ def configure(env):
|
|||
if env["use_lto"]:
|
||||
env.Append(CCFLAGS=["-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
|
||||
if env["use_closure_compiler"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue