diff options
author | Brian Smith <brian@dbsoft.org> | 2022-06-10 16:33:04 -0500 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2022-06-10 16:33:04 -0500 |
commit | 0c99c0ca2ef926f7cd3af2aafc5c8fe3df82f952 (patch) | |
tree | 6e804a8bb53766a89b34ee14017f9b786a877f69 /build/autoconf | |
parent | 79c3747465e3df48f6b5b755c9221dcedba7bd59 (diff) | |
download | uxp-0c99c0ca2ef926f7cd3af2aafc5c8fe3df82f952.tar.gz |
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.
Diffstat (limited to 'build/autoconf')
-rw-r--r-- | build/autoconf/toolchain.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/autoconf/toolchain.m4 b/build/autoconf/toolchain.m4 index 5940e9698a..9fc76a3f6e 100644 --- a/build/autoconf/toolchain.m4 +++ b/build/autoconf/toolchain.m4 @@ -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 |