diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-10-24 22:41:30 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-11-10 11:42:51 +0100 |
commit | 54cda5c3b8622c9168fcd5d1c68964ef7697b27e (patch) | |
tree | a3b4f7e48a44abab1553dbf2975389ba05727ebb /platform | |
parent | 05261cceaf5b965ced39d862415d175b5cf817e7 (diff) |
[HTML5] Update syntax for lto.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/javascript/detect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 8f2961b33d..c401fd7b30 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -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"]: |