From c4de3593def782ca514bef5589dc7e038666c2b3 Mon Sep 17 00:00:00 2001 From: Hugo Amiard Date: Sat, 18 Jan 2020 23:41:20 +0100 Subject: [PATCH] Cleanup Emscripten toolchain --- scripts/genie.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index a6614464a..acd0c0f5f 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -306,7 +306,19 @@ function exampleProjectDefaults() configuration { "asmjs" } kind "ConsoleApp" - targetextension ".bc" + + linkoptions { + "-s TOTAL_MEMORY=256MB", + "--memory-init-file 1", + } + + removeflags { + "OptimizeSpeed", + } + + flags { + "Optimize" + } configuration { "linux-* or freebsd", "not linux-steamlink" } links {