diff --git a/examples/wasm/wasm_sample/Makefile b/examples/wasm/wasm_sample/Makefile index 824a594987..dec2b46e4e 100644 --- a/examples/wasm/wasm_sample/Makefile +++ b/examples/wasm/wasm_sample/Makefile @@ -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