diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index 810c434c..7e61d969 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -6,7 +6,7 @@ export OPTFLAGS="--llvm-lto 3 -Oz" export CFLAGS="$OPTFLAGS --pre-js=test/default/pre.js " export LDFLAGS="-s EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS}" -emconfigure ./configure --disable-shared --prefix="$PREFIX" && \ +emconfigure ./configure --enable-minimal --disable-shared --prefix="$PREFIX" && \ emmake make clean && emmake make install && emcc --closure 1 $OPTFLAGS $LDFLAGS \