Skip to content

Commit

Permalink
Remove --memory-init-flie flag
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Sep 10, 2024
1 parent 0129261 commit f3bc2a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions emscripten/buildToolkit
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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";
}

Expand Down

0 comments on commit f3bc2a8

Please sign in to comment.