summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index db3033cdc..275e5b21e 100755
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,5 @@
echo "building binaryen shell"
-g++ -O2 -std=c++11 src/binaryen-shell.cpp -g -o bin/binaryen-shell
+g++ -O2 -std=c++11 src/binaryen-shell.cpp -g -o bin/binaryen-shell -msse2 -mfpmath=sse # use sse for math, avoid x87, necessarily for proper float rounding on 32-bit
echo "building asm2wasm"
g++ -O2 -std=c++11 src/asm2wasm-main.cpp src/emscripten-optimizer/parser.cpp src/emscripten-optimizer/simple_ast.cpp src/emscripten-optimizer/optimizer-shared.cpp -g -o bin/asm2wasm
echo "building interpreter/js"