mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 10:03:50 +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=__heap_base \
|
||||||
--export=__data_end \
|
--export=__data_end \
|
||||||
--allow-undefined \
|
--allow-undefined \
|
||||||
--no-entry \
|
|
||||||
--strip-all \
|
--strip-all \
|
||||||
--export-dynamic \
|
--export-dynamic \
|
||||||
-error-limit=0 \
|
-error-limit=0 \
|
||||||
@ -53,6 +52,8 @@ LINK_FLAGS := -z stack-size=4096 \
|
|||||||
-O3 \
|
-O3 \
|
||||||
--gc-sections\
|
--gc-sections\
|
||||||
--initial-memory=65536 \
|
--initial-memory=65536 \
|
||||||
|
--no-entry \
|
||||||
|
#
|
||||||
|
|
||||||
# --initial-memory may only be set in 64kB steps (pagesize of WASM)
|
# --initial-memory may only be set in 64kB steps (pagesize of WASM)
|
||||||
# even though this one page is 64kB
|
# even though this one page is 64kB
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user