Issue #1905 - Part 3d - Report GNU AS when the system "as" is LLVM-as. LLVM as is generally compatible with GNU, this should allow ICU to build on ARM Macs.

This commit is contained in:
Brian Smith 2022-06-09 14:38:33 -05:00 committed by roytam1
commit ccdf07735a

View file

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