Example: Emscripten: Fix for compilation (filesystem module is required) (#2734)

This commit is contained in:
Funto 2019-10-23 16:55:26 +02:00 committed by omar
parent be9f1e8f00
commit 75d540d336

View File

@ -24,7 +24,8 @@ UNAME_S := $(shell uname -s)
EMS = -s USE_SDL=2 -s WASM=1
EMS += -s ALLOW_MEMORY_GROWTH=1 -s BINARYEN_TRAP_MODE=clamp
EMS += -s DISABLE_EXCEPTION_CATCHING=1 -s NO_EXIT_RUNTIME=0
EMS += -s ASSERTIONS=1 -s NO_FILESYSTEM=1
EMS += -s ASSERTIONS=1
#EMS += -s NO_FILESYSTEM=1 ## Getting "error: undefined symbol: $FS" if filesystem is removed
#EMS += -s SAFE_HEAP=1 ## Adds overhead
CPPFLAGS = -I../ -I../../