From 75d540d33699fc04d1ea31deb5f8adb726aaf915 Mon Sep 17 00:00:00 2001 From: Funto Date: Wed, 23 Oct 2019 16:55:26 +0200 Subject: [PATCH] Example: Emscripten: Fix for compilation (filesystem module is required) (#2734) --- examples/example_emscripten/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/example_emscripten/Makefile b/examples/example_emscripten/Makefile index 9edfafd0..c9f2c054 100644 --- a/examples/example_emscripten/Makefile +++ b/examples/example_emscripten/Makefile @@ -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../../