diff options
author | Brian Smith <brian@dbsoft.org> | 2022-06-09 14:38:33 -0500 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2022-06-09 14:38:33 -0500 |
commit | 56ff5a50d44b03399fae7f08499d9f5bb000b529 (patch) | |
tree | 6b2ae49e003ae8daee60110d9159462a4aa2daf3 | |
parent | 357463d9d7538c4dfdd525f2987c0d551f0c5e54 (diff) | |
download | uxp-56ff5a50d44b03399fae7f08499d9f5bb000b529.tar.gz |
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.
-rw-r--r-- | build/autoconf/toolchain.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |