Just look for the 'wasi' substring

This commit is contained in:
Frank Denis
2019-05-03 11:15:42 +02:00
parent aff4a60581
commit a47159de27
+1 -1
View File
@@ -20,7 +20,7 @@ export STRIP="llvm-strip"
make distclean > /dev/null
grep -q -F -- '-wasi' build-aux/config.sub || \
grep -q -F -- 'wasi' build-aux/config.sub || \
sed -i -e 's/-nacl\*)/-nacl*|-wasi)/' build-aux/config.sub
if [ "x$1" = "x--bench" ]; then