Issue #1905 - Part 3k - Separate the GNU and LLVM-as tests. While we should be able to test these together, I don't want to risk breakages on different *nixes.

This commit is contained in:
Brian Smith 2022-06-10 16:33:04 -05:00 committed by roytam1
commit 163bce2e81

View file

@ -24,7 +24,10 @@ if test "$CC_TYPE" = "gcc"; then
GNU_CXX=1
fi
if test "`echo | $AS -o conftest.out -v 2>&1 | grep -c GNU|LLVM`" != "0"; then
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