diff --git a/Makefile b/Makefile index 450d8e6b..ae303266 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,8 @@ EMFLAGS = \ -s EXPORTED_RUNTIME_METHODS=@src/exported_runtime_methods.json \ -s SINGLE_FILE=0 \ -s NODEJS_CATCH_EXIT=0 \ - -s NODEJS_CATCH_REJECTION=0 + -s NODEJS_CATCH_REJECTION=0 \ + -s STACK_SIZE=5MB EMFLAGS_ASM = \ -s WASM=0 @@ -48,8 +49,7 @@ EMFLAGS_ASM_MEMORY_GROWTH = \ EMFLAGS_WASM = \ -s WASM=1 \ - -s ALLOW_MEMORY_GROWTH=1 \ - -s STACK_SIZE=5MB + -s ALLOW_MEMORY_GROWTH=1 EMFLAGS_OPTIMIZED= \ -Oz \