Emscripten tweaks (nw)

This commit is contained in:
Justin Kerk 2016-05-29 08:27:55 +00:00
parent bded10179b
commit 141e1c7770

View File

@ -115,7 +115,7 @@ end
targetextension ".bc"
if os.getenv("EMSCRIPTEN") then
local emccopts = ""
.. " -O3"
.. " -O" .. _OPTIONS["OPTIMIZE"]
.. " -s USE_SDL=2"
.. " -s USE_SDL_TTF=2"
.. " --memory-init-file 0"
@ -132,7 +132,9 @@ end
.. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "artwork/slot-mask.png@artwork/slot-mask.png"
if _OPTIONS["SYMBOLS"]~=nil and _OPTIONS["SYMBOLS"]~="0" then
emccopts = emccopts .. " -g" .. _OPTIONS["SYMLEVEL"]
emccopts = emccopts
.. " -g" .. _OPTIONS["SYMLEVEL"]
.. " -s DEMANGLE_SUPPORT=1"
end
if _OPTIONS["ARCHOPTS"] then