summaryrefslogtreecommitdiff
path: root/emcc_to_polyfill.sh
diff options
context:
space:
mode:
Diffstat (limited to 'emcc_to_polyfill.sh')
-rwxr-xr-xemcc_to_polyfill.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/emcc_to_polyfill.sh b/emcc_to_polyfill.sh
index 7fa54f84b..f806aa1dd 100755
--- a/emcc_to_polyfill.sh
+++ b/emcc_to_polyfill.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
echo "calling emcc"
emcc $1 -o a.html --separate-asm -O2 -profiling -s DEMANGLE_SUPPORT=1 -s TOTAL_MEMORY=67108864