From: Daniel Huisman Date: Mon, 30 May 2022 15:01:02 +0000 (+0200) Subject: Fix typo in emcc flags (typo introduced by #3053) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6809ee8de024912491b18df877c20d6b7d00022b;p=yosys.git Fix typo in emcc flags (typo introduced by #3053) --- diff --git a/Makefile b/Makefile index b92e1dabb..3fb55a13d 100644 --- 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"]'