Skip to content

Commit

Permalink
Cherry pick f3bc2a8
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Sep 10, 2024
1 parent 47e2d46 commit f2d0a0c
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 f2d0a0c

Please sign in to comment.