[HTML5] Update syntax for lto.
This commit is contained in:
parent
05261cceaf
commit
54cda5c3b8
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…
Reference in a new issue