commit:     9625eb0cbd0f0742e3f31f234280b38f2d01eab5
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 12:26:24 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 12:29:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9625eb0c

www-client/firefox: remove the lld/mold tc check from 132.0.1

 - dependency-chain seems fine so a working lld will always be present, and the
   forcing of proper version happens later making this check counter-intuitive.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/firefox-132.0.1-r1.ebuild | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/www-client/firefox/firefox-132.0.1-r1.ebuild 
b/www-client/firefox/firefox-132.0.1-r1.ebuild
index 6f0ec147305c..8e645730068f 100644
--- a/www-client/firefox/firefox-132.0.1-r1.ebuild
+++ b/www-client/firefox/firefox-132.0.1-r1.ebuild
@@ -490,17 +490,8 @@ pkg_setup() {
                fi
 
                check-reqs_pkg_setup
-
                llvm-r1_pkg_setup
                rust_pkg_setup
-
-               if [[ ${use_lto} == "yes" ]] && use clang; then
-                       if ! (tc-ld-is-lld || tc-ld-is-mold) ; then
-                               eerror "Building ${PN} with LTO and Clang 
requires the sys-devel/lld or sys-devel/mold linker!"
-                               die "Please fix your toolchain configuration."
-                       fi
-               fi
-
                python-any-r1_pkg_setup
 
                # Avoid PGO profiling problems due to enviroment leakage

Reply via email to