From 046821b5c1e43acc04f3c78124d6bea01e8b245c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 15 Jan 2018 13:33:33 +0100 Subject: [PATCH] emscripten: do not use closure --- dist-build/emscripten.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index d0e1e8bf..ebffe281 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -72,7 +72,7 @@ if [ "$DIST" = yes ]; then emccLibsodium () { outFile="${1}" shift - emcc "$CFLAGS" --closure 1 --llvm-lto 1 $CPPFLAGS $LDFLAGS $JS_EXPORTS_FLAGS ${@} \ + emcc "$CFLAGS" --llvm-lto 1 $CPPFLAGS $LDFLAGS $JS_EXPORTS_FLAGS ${@} \ "${PREFIX}/lib/libsodium.a" -o "${outFile}" || exit 1 } emmake make $MAKE_FLAGS install || exit 1