put in fallback to default march=native if arch detection fails

This commit is contained in:
c0ntrol
2016-02-15 21:36:41 +01:00
parent 9cd7fa49dd
commit 5f4dcbfe24

View File

@@ -62,6 +62,11 @@ if test $? -ne 0; then
fi
if [ -z "$arch" ]; then
echo "Falling back to default -march=native"
arch="native"
fi
rm -rf veejay.arch
echo "-march=$arch" > veejay.arch