From ccdf07735ae3d91444ffe316486d1e3cc48e9128 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Thu, 9 Jun 2022 14:38:33 -0500 Subject: [PATCH] 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. --- build/autoconf/toolchain.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/autoconf/toolchain.m4 b/build/autoconf/toolchain.m4 index 3109f5dfcf..5940e9698a 100644 --- a/build/autoconf/toolchain.m4 +++ b/build/autoconf/toolchain.m4 @@ -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