diff options
| author | Damien George <damien@micropython.org> | 2024-03-04 11:33:00 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-03-04 11:33:07 +1100 |
| commit | 90e517862d055b8ec95a0c7067052c0ba6cd0df1 (patch) | |
| tree | 4f77b2464ac31b833ad8b5a17d76063b9504d2d9 | |
| parent | 7d5f697c38629ceee5aa169f5b776de40c37a244 (diff) | |
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 <damien@micropython.org>
| -rw-r--r-- | ports/webassembly/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/webassembly/Makefile b/ports/webassembly/Makefile index 450ef8768..c5ee80fe0 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 |
