summaryrefslogtreecommitdiff
path: root/build/autoconf/toolchain.m4
diff options
context:
space:
mode:
Diffstat (limited to 'build/autoconf/toolchain.m4')
-rw-r--r--build/autoconf/toolchain.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/build/autoconf/toolchain.m4 b/build/autoconf/toolchain.m4
index 3109f5dfcf..9fc76a3f6e 100644
--- a/build/autoconf/toolchain.m4
+++ b/build/autoconf/toolchain.m4
@@ -27,6 +27,9 @@ fi
if test "`echo | $AS -o conftest.out -v 2>&1 | grep -c GNU`" != "0"; then
GNU_AS=1
fi
+if test "`echo | $AS -o conftest.out -v 2>&1 | grep -c LLVM`" != "0"; then
+ GNU_AS=1
+fi
rm -f conftest.out
if test "`echo | $LD -v 2>&1 | grep -c GNU`" != "0"; then
GNU_LD=1