From f2d0a0cdd78659125ac18e3270ed6ec2bfe02c83 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Tue, 10 Sep 2024 17:36:33 +0200 Subject: [PATCH] Cherry pick f3bc2a89ed5c0bc925446cd86690e1d68ec6e827 --- emscripten/buildToolkit | 2 -- 1 file changed, 2 deletions(-) diff --git a/emscripten/buildToolkit b/emscripten/buildToolkit index 7c9262bc169..f10963682e8 100755 --- a/emscripten/buildToolkit +++ b/emscripten/buildToolkit @@ -88,7 +88,6 @@ my $LFLAGS = " -s ASM_JS=1"; $LFLAGS .= " -s INITIAL_MEMORY=256MB"; $LFLAGS .= " -s STACK_SIZE=128MB"; $LFLAGS .= " -s WASM=0"; -$LFLAGS .= " --memory-init-file 0"; # Check that -w and -l and not enabled together die "ERROR: option -w cannot be enabled with -l.\n" if ($wasmQ && $lightQ); @@ -129,7 +128,6 @@ if ($wasmQ) { if ($lightQ) { print "Creating low-memory (light) toolkit version\n"; $LFLAGS = " -s ASM_JS=1 -s WASM=0"; - $LFLAGS .= " --memory-init-file 0"; $FLAGS_NAME = "-light"; }