diff options
author | 2018-07-15 04:17:09 +0000 | |
---|---|---|
committer | 2018-07-15 04:17:09 +0000 | |
commit | 38df7f421904ba60cdf45e3b0cfdfdb87b39c028 (patch) | |
tree | 80fcedf417389b91d4e2c5a5766d11a206dd1080 /scripts/src/main.lua | |
parent | ce5437bdd4c39c5d97b347d187e5a7f34072c1a8 (diff) |
Update WebAssembly parameters for current Emscripten (nw)
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r-- | scripts/src/main.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 0f7461d83a2..5187ae5d042 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -169,7 +169,10 @@ end if _OPTIONS["WEBASSEMBLY"] then emccopts = emccopts - .. " -s BINARYEN=1" + .. " -s WASM=1" + else + emccopts = emccopts + .. " -s WASM=0" end if _OPTIONS["ARCHOPTS"] then |