This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 1cf9640bb Wasm.mk: Allow application defined linker flags
1cf9640bb is described below

commit 1cf9640bb62852b95da5b53a6d2f8a2afb089849
Author: Huang Qi <huang...@xiaomi.com>
AuthorDate: Thu Nov 9 19:54:23 2023 +0800

    Wasm.mk: Allow application defined linker flags
    
    Signed-off-by: Huang Qi <huang...@xiaomi.com>
---
 tools/Wasm.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/Wasm.mk b/tools/Wasm.mk
index 6314f652a..e112dc01e 100644
--- a/tools/Wasm.mk
+++ b/tools/Wasm.mk
@@ -62,7 +62,7 @@ ifeq ($(CONFIG_LIBM),)
 WCFLAGS += -DCONFIG_LIBM=1 -I$(APPDIR)$(DELIM)include$(DELIM)wasm
 endif
 
-WLDFLAGS = -z stack-size=$(STACKSIZE) -Wl,--initial-memory=$(INITIAL_MEMORY)
+WLDFLAGS += -z stack-size=$(STACKSIZE) -Wl,--initial-memory=$(INITIAL_MEMORY)
 WLDFLAGS += -Wl,--export=main -Wl,--export=__main_argc_argv
 WLDFLAGS += -Wl,--export=__heap_base -Wl,--export=__data_end
 WLDFLAGS += -Wl,--no-entry -Wl,--strip-all -Wl,--allow-undefined

Reply via email to