commit:     4f071c7272814a2eca93a24a61930ec5fd357014
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 18 12:29:50 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 11:32:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f071c72

llvm-r2.eclass: Remove obsolete Meson LLVM_CONFIG hack

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/llvm-r2.eclass | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass
index 3d18f1a0a19c..4c2628dd3b7e 100644
--- a/eclass/llvm-r2.eclass
+++ b/eclass/llvm-r2.eclass
@@ -401,13 +401,6 @@ llvm_cbuild_setup() {
        # keep in sync with profiles/features/llvm/make.defaults!
        llvm_fix_tool_path ADDR2LINE AR AS LD NM OBJCOPY OBJDUMP RANLIB
        llvm_fix_tool_path READELF STRINGS STRIP
-
-       # Set LLVM_CONFIG to help Meson (bug #907965) but only do it
-       # for empty ESYSROOT (as a proxy for "are we cross-compiling?").
-       if [[ -z ${ESYSROOT} ]] ; then
-               llvm_fix_tool_path LLVM_CONFIG
-       fi
-
        llvm_prepend_path -b "${LLVM_SLOT}"
 }
 

Reply via email to