From b1bcac1c975a03e790c8cf09c13a389c3e083122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 21 Mar 2018 20:40:11 -0700 Subject: [PATCH] Cleanup. --- scripts/toolchain.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 9163118..5159cad 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -1309,15 +1309,18 @@ function strip() postbuildcommands { "$(SILENT) echo Running asmjs finalize.", "$(SILENT) \"$(EMSCRIPTEN)/emcc\" -O2 " + +-- .. "-s ALLOW_MEMORY_GROWTH=1 " +-- .. "-s ASSERTIONS=2 " -- .. "-s EMTERPRETIFY=1 " -- .. "-s EMTERPRETIFY_ASYNC=1 " + .. "-s PRECISE_F32=1 " .. "-s TOTAL_MEMORY=268435456 " --- .. "-s ALLOW_MEMORY_GROWTH=1 " -- .. "-s USE_WEBGL2=1 " + .. "--memory-init-file 1 " .. "\"$(TARGET)\" -o \"$(TARGET)\".html " -- .. "--preload-file ../../../examples/runtime@/ " - .. "-s PRECISE_F32=1" } configuration { "riscv" }