mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
examples/wasm/wasm_sample: fix linking with new wasm-ld
Apparently the order of the flags now became significant. This fixes: wasm-ld: error: entry symbol not defined (pass --no-entry to suppress)
This commit is contained in:
parent
e402e3f57a
commit
c801990c5d
@ -45,7 +45,6 @@ LINK_FLAGS := -z stack-size=4096 \
|
||||
--export=__heap_base \
|
||||
--export=__data_end \
|
||||
--allow-undefined \
|
||||
--no-entry \
|
||||
--strip-all \
|
||||
--export-dynamic \
|
||||
-error-limit=0 \
|
||||
@ -53,6 +52,8 @@ LINK_FLAGS := -z stack-size=4096 \
|
||||
-O3 \
|
||||
--gc-sections\
|
||||
--initial-memory=65536 \
|
||||
--no-entry \
|
||||
#
|
||||
|
||||
# --initial-memory may only be set in 64kB steps (pagesize of WASM)
|
||||
# even though this one page is 64kB
|
||||
|
Loading…
Reference in New Issue
Block a user