Skip to content

Commit 58eaa8f

Browse files
author
Oleg Sh
committed
Enable memory growth in debug mode for emscripten. Fix build break.
1 parent e97c260 commit 58eaa8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

makefile-emcc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CPPFLAGS += -std=c++17 -Wall -I. -I $(ALGORITHM_DIR) -I $(PUGIXML_DIR) -I $(REPO
2222
LINKFLAGS += -s EXPORTED_FUNCTIONS='_ProcessAlgorithm' -s EXPORTED_RUNTIME_METHODS=ccall,cwrap
2323

2424
ifeq ($(DEBUG),1)
25-
CPPFLAGS += -g --emit-symbol-map -sWASM=2 -sALLOW_MEMORY_GROWTH=true
25+
CPPFLAGS += -g --emit-symbol-map -sWASM=2 -sALLOW_MEMORY_GROWTH=1
2626
else
2727
CPPFLAGS += -O3
2828
endif

0 commit comments

Comments
 (0)