emscripten: do not use closure
This commit is contained in:
parent
74a4496cc5
commit
bc6541a70a
@ -72,7 +72,7 @@ if [ "$DIST" = yes ]; then
|
|||||||
emccLibsodium () {
|
emccLibsodium () {
|
||||||
outFile="${1}"
|
outFile="${1}"
|
||||||
shift
|
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
|
"${PREFIX}/lib/libsodium.a" -o "${outFile}" || exit 1
|
||||||
}
|
}
|
||||||
emmake make $MAKE_FLAGS install || exit 1
|
emmake make $MAKE_FLAGS install || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user