From ae8cd7208c3c8a68f5bd37ab5032ea60501d64c7 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 30 Jul 2017 23:31:56 +0200 Subject: [PATCH] emscript-wasm: don't use --enable-minimal on sumo builds --- dist-build/emscripten-wasm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist-build/emscripten-wasm.sh b/dist-build/emscripten-wasm.sh index ef0d609f..544ac0e9 100755 --- a/dist-build/emscripten-wasm.sh +++ b/dist-build/emscripten-wasm.sh @@ -21,6 +21,7 @@ if [ "x$1" = "x--standard" ]; then export LDFLAGS="${LDFLAGS} ${LDFLAGS_DIST} -s TOTAL_MEMORY=${TOTAL_MEMORY}" export PREFIX="$(pwd)/libsodium-js" export DONE_FILE="$(pwd)/js.done" + export CONFIG_EXTRA="--enable-minimal" export DIST='yes' elif [ "x$1" = "x--sumo" ]; then echo "Building a sumo distribution in ${PREFIX}" @@ -55,7 +56,7 @@ export JS_EXPORTS_FLAGS="-s EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS}" rm -f "$DONE_FILE" echo -emconfigure ./configure --enable-minimal --disable-shared --prefix="$PREFIX" \ +emconfigure ./configure $CONFIG_EXTRA --disable-shared --prefix="$PREFIX" \ --without-pthreads CFLAGS="$CFLAGS" && \ emmake make clean [ $? = 0 ] || exit 1