Example: Emscripten: Fix for compilation (filesystem module is required) (#2734)
This commit is contained in:
parent
be9f1e8f00
commit
75d540d336
@ -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../../
|
||||
|
Loading…
Reference in New Issue
Block a user