diff options
author | Alon Zakai <azakai@google.com> | 2019-08-30 16:46:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-30 16:46:51 -0700 |
commit | a537db2a966b1fc959754c3838e3eab04ee7cc77 (patch) | |
tree | ba95641c85776a6f961d4dbd481749f78a62f26c | |
parent | c134c574e9e755a85806d42481c1b6d490d0d445 (diff) | |
download | binaryen-a537db2a966b1fc959754c3838e3eab04ee7cc77.tar.gz binaryen-a537db2a966b1fc959754c3838e3eab04ee7cc77.tar.bz2 binaryen-a537db2a966b1fc959754c3838e3eab04ee7cc77.zip |
Workaround for current breakage on master, avoid ASSERTIONS. See https://github.com/emscripten-core/emscripten/pull/9360 (#2320)
-rwxr-xr-x | build-js.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-js.sh b/build-js.sh index 15f0ea843..895be69f0 100755 --- a/build-js.sh +++ b/build-js.sh @@ -52,7 +52,7 @@ if [ "$1" == "-g" ]; then EMCC_ARGS="$EMCC_ARGS -O2" # need emcc js opts to be decently fast EMCC_ARGS="$EMCC_ARGS --llvm-opts 0 --llvm-lto 0" EMCC_ARGS="$EMCC_ARGS -profiling" - EMCC_ARGS="$EMCC_ARGS -s ASSERTIONS=1" + EMCC_ARGS="$EMCC_ARGS -s ASSERTIONS=0" # 0 as a temporary workaround for https://github.com/emscripten-core/emscripten/pull/9360 else EMCC_ARGS="$EMCC_ARGS -Oz" EMCC_ARGS="$EMCC_ARGS --llvm-lto 1" |