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";
 }