From 90e517862d055b8ec95a0c7067052c0ba6cd0df1 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 4 Mar 2024 11:33:00 +1100 Subject: [PATCH] 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 --- ports/webassembly/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/ports/webassembly/Makefile b/ports/webassembly/Makefile index 450ef87680..c5ee80fe00 100644 --- a/ports/webassembly/Makefile +++ b/ports/webassembly/Makefile @@ -38,7 +38,6 @@ OBJ += $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) JSFLAGS += -s ASYNCIFY 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']" JSFLAGS += -s EXPORTED_RUNTIME_METHODS="['ccall', 'cwrap', 'FS']" -JSFLAGS += -s --memory-init-file 0 JSFLAGS += --js-library library.js all: $(BUILD)/micropython.js