summaryrefslogtreecommitdiff
path: root/emcc_to_wasm.js.sh
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-07 14:23:24 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-07 14:23:24 -0800
commita54be54b62f68ccf99ff3487783e2b8619371ae1 (patch)
tree0809a34ebfad0059bc09876cd6120c5d4a4169ba /emcc_to_wasm.js.sh
parent264a3bdab4496d907a934dc1e8e680846b3254b5 (diff)
downloadbinaryen-a54be54b62f68ccf99ff3487783e2b8619371ae1.tar.gz
binaryen-a54be54b62f68ccf99ff3487783e2b8619371ae1.tar.bz2
binaryen-a54be54b62f68ccf99ff3487783e2b8619371ae1.zip
fix export calls in wasm.js
Diffstat (limited to 'emcc_to_wasm.js.sh')
-rwxr-xr-xemcc_to_wasm.js.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc_to_wasm.js.sh b/emcc_to_wasm.js.sh
index 2f68b55c3..5e89f198e 100755
--- a/emcc_to_wasm.js.sh
+++ b/emcc_to_wasm.js.sh
@@ -3,7 +3,7 @@
set -e
echo "calling emcc"
-emcc -o a.html --separate-asm -profiling -s TOTAL_MEMORY=67108864 -s GLOBAL_BASE=1024 -s ALIASING_FUNCTION_POINTERS=0 $@
+emcc -o a.html --separate-asm -g1 -s TOTAL_MEMORY=67108864 -s GLOBAL_BASE=1024 -s ALIASING_FUNCTION_POINTERS=0 $@
# we now have a.asm.js and a.js