Skip to content

Commit 90e5178

Browse files
committed
webassembly/Makefile: Remove --memory-init-file from linker options.
It's no longer supported by Emscripten (at least at 3.1.55). And it's not needed when the output is WASM, which it is by default. Signed-off-by: Damien George <[email protected]>
1 parent 7d5f697 commit 90e5178

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ports/webassembly/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ OBJ += $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
3838
JSFLAGS += -s ASYNCIFY
3939
JSFLAGS += -s EXPORTED_FUNCTIONS="['_mp_js_init', '_mp_js_init_repl', '_mp_js_do_str', '_mp_js_process_char', '_mp_hal_get_interrupt_char', '_mp_sched_keyboard_interrupt']"
4040
JSFLAGS += -s EXPORTED_RUNTIME_METHODS="['ccall', 'cwrap', 'FS']"
41-
JSFLAGS += -s --memory-init-file 0
4241
JSFLAGS += --js-library library.js
4342

4443
all: $(BUILD)/micropython.js

0 commit comments

Comments
 (0)