summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-17 03:16:52 +0100
committerSam James <sam@gentoo.org>2022-09-17 03:16:52 +0100
commita7c27596827072f586dc07e6d53531ecb2c7cd6e (patch)
tree20db588ac04a87fe6cc62d0de0c648c953c63c0a /eclass
parentsys-process/lsof: add 4.96.3 (diff)
downloadgentoo-a7c27596827072f586dc07e6d53531ecb2c7cd6e.tar.gz
gentoo-a7c27596827072f586dc07e6d53531ecb2c7cd6e.tar.bz2
gentoo-a7c27596827072f586dc07e6d53531ecb2c7cd6e.zip
Revert "toolchain.eclass: fix building Clang on pure LLVM profiles"
This reverts commit 7011340a0f13dcada6f3be48054957035bc6e01a. This ended up being insufficient. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass11
1 files changed, 0 insertions, 11 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index cc7e0d258767..71342765c78e 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -901,17 +901,6 @@ toolchain_src_configure() {
export ac_cv_std_swap_in_utility=no
fi
- if [[ $(tc-getAS) == *clang* ]] ; then
- # The features/clang profile sets AS="clang -c".
- # 1. We can't use llvm-as because it's essentially for
- # internal use and isn't compatible anyway with cmdline args.
- # 2. "clang -c" doesn't recognise --64 which configure
- # tries to add.
- # So, fake nothing to avoid configure trying to add that in.
- einfo "Forcing blank gcc_cv_as_flags for AS='clang -c' compatibility"
- export gcc_cv_as_flags=""
- fi
-
einfo "CFLAGS=\"${CFLAGS}\""
einfo "CXXFLAGS=\"${CXXFLAGS}\""
einfo "LDFLAGS=\"${LDFLAGS}\""