summaryrefslogtreecommitdiff
path: root/emcc_to_polyfill.sh
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-31 20:22:42 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-31 20:22:42 -0700
commitcfb0cefcf93417a30c03bca7ff0a6c4d0428b1b5 (patch)
treec4dbaf88f84420d2c4f4c82b1b63c1437ccc8d38 /emcc_to_polyfill.sh
parent4f4a650c67d5105fedf44b83c06a51102947c045 (diff)
downloadbinaryen-cfb0cefcf93417a30c03bca7ff0a6c4d0428b1b5.tar.gz
binaryen-cfb0cefcf93417a30c03bca7ff0a6c4d0428b1b5.tar.bz2
binaryen-cfb0cefcf93417a30c03bca7ff0a6c4d0428b1b5.zip
debugging
Diffstat (limited to 'emcc_to_polyfill.sh')
-rwxr-xr-xemcc_to_polyfill.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc_to_polyfill.sh b/emcc_to_polyfill.sh
index f806aa1dd..41337ae2d 100755
--- a/emcc_to_polyfill.sh
+++ b/emcc_to_polyfill.sh
@@ -3,7 +3,7 @@
set -e
echo "calling emcc"
-emcc $1 -o a.html --separate-asm -O2 -profiling -s DEMANGLE_SUPPORT=1 -s TOTAL_MEMORY=67108864
+emcc -o a.html --separate-asm -O2 -profiling -s DEMANGLE_SUPPORT=1 -s TOTAL_MEMORY=67108864 $@
# we now have a.asm.js and a.js