diff options
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r-- | scripts/src/main.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua index eb7cac4c8d5..abd91200edd 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -137,6 +137,11 @@ end .. " -s DEMANGLE_SUPPORT=1" end + if _OPTIONS["WEBASSEMBLY"] then + emccopts = emccopts + .. " -s BINARYEN=1" + end + if _OPTIONS["ARCHOPTS"] then emccopts = emccopts .. " " .. _OPTIONS["ARCHOPTS"] end |