commit 0553621fc7ef00b8bc47191f50aff04ca1bd9976
parent 2e397fc3ac7d1a7d99011b25638373aac08280b1
Author: finwo <finwo@pm.me>
Date: Tue, 16 Jul 2019 14:37:29 +0200
Allow runtime-given compile flags
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
@@ -7,7 +7,7 @@ git submodule update --force --init --recursive
( cd lib/supercop && patch -p1 < ../../patch/supercop/00-single-file-compile.patch )
# Compile
-node_modules/.bin/wa compile -o supercop.wasm supercop.c
+node_modules/.bin/wa compile -o supercop.wasm supercop.c "$@"
# Make a .js version of the binaries
cat <<EOJS > supercop.wasm.js