From 7809e9005dff6769ad18cf924f285fd60519b044 Mon Sep 17 00:00:00 2001 From: Justin Kerk Date: Sat, 21 Jul 2018 22:05:45 +0000 Subject: Better Emscripten parameter handling, & update docs (nw) --- scripts/src/main.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts/src/main.lua') 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 -- cgit v1.2.3-70-g09d2