diff --git a/Makefile b/Makefile index 21d5370d..530c97d5 100644 --- a/Makefile +++ b/Makefile @@ -1062,7 +1062,7 @@ ifeq ($(PLATFORM),emscripten) USE_RENDERER_DLOPEN=0 BASE_CFLAGS=-fPIC -s USE_SDL=2 - LDFLAGS=-s TOTAL_MEMORY=256mb -s MAX_WEBGL_VERSION=2 --preload-file $(BASEGAME) + LDFLAGS=-s STACK_SIZE=5MB -s TOTAL_MEMORY=256MB -s MAX_WEBGL_VERSION=2 --preload-file $(BASEGAME) OPTIMIZEVM = -O3 OPTIMIZE = $(OPTIMIZEVM)