Emscripten : increase default stack size.

This commit is contained in:
Jean-François DEL NERO
2025-01-03 13:05:05 +01:00
parent a62bd86017
commit d0ef6077d9
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ ifeq ($(TARGET), Emscripten)
LDFLAGS += -static-libgcc
ifeq ($(PTHREAD), 1)
CFLAGS += -pthread
LDFLAGS += -pthread -sPTHREAD_POOL_SIZE=4 -sTOTAL_MEMORY=64MB
LDFLAGS += -pthread -sSTACK_SIZE=262144 -sDEFAULT_PTHREAD_STACK_SIZE=262144 -sPTHREAD_POOL_SIZE=4 -sTOTAL_MEMORY=64MB
endif
CC = emcc
EXEC = hxcfe.wasm