Fix typo in emcc flags (typo introduced by #3053)
authorDaniel Huisman <daniel@huisman.me>
Mon, 30 May 2022 15:01:02 +0000 (17:01 +0200)
committerDaniel Huisman <daniel@huisman.me>
Mon, 30 May 2022 15:01:02 +0000 (17:01 +0200)
Makefile

index b92e1dabbdd9e38d4156613c1a4a8c462034d493..3fb55a13dbb73b474e3958ca89623f11bd8c6f54 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -263,7 +263,7 @@ CXXFLAGS := -std=$(CXXSTD) $(filter-out -fPIC -ggdb,$(CXXFLAGS))
 ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H -DABC_MEMALIGN=8"
 EMCC_CXXFLAGS := -Os -Wno-warn-absolute-paths
 EMCC_LDFLAGS := --memory-init-file 0 --embed-file share
-EMCC_LDFLAGS := -s NO_EXIT_RUNTIME=1
+EMCC_LDFLAGS += -s NO_EXIT_RUNTIME=1
 EMCC_LDFLAGS += -s EXPORTED_FUNCTIONS="['_main','_run','_prompt','_errmsg','_memset']"
 EMCC_LDFLAGS += -s TOTAL_MEMORY=134217728
 EMCC_LDFLAGS += -s EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]'