diff options
author | 2018-07-21 22:05:45 +0000 | |
---|---|---|
committer | 2018-07-21 22:05:45 +0000 | |
commit | 7809e9005dff6769ad18cf924f285fd60519b044 (patch) | |
tree | 56426ac398a636abc42743d39eba41b808265c24 /scripts/src/main.lua | |
parent | 9ccca093f0bf097254e10e4d9e88702ab164b197 (diff) |
Better Emscripten parameter handling, & update docs (nw)
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r-- | scripts/src/main.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 5187ae5d042..65a80fb6c33 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -169,10 +169,7 @@ end if _OPTIONS["WEBASSEMBLY"] then emccopts = emccopts - .. " -s WASM=1" - else - emccopts = emccopts - .. " -s WASM=0" + .. " -s WASM=" .. _OPTIONS["WEBASSEMBLY"] end if _OPTIONS["ARCHOPTS"] then |