mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Wasm.mk: Allow application defined linker flags
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
cdbd14eb5f
commit
1cf9640bb6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue