commit:     8c6e9d78faa844dedd9fd879f297cc3d92dc8320
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  3 05:27:37 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jun  3 06:09:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c6e9d78

www-client/firefox: invert lld check with mold in 113

 - when mold is installed but not configured to be used, lld version
   check might be ignored.

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

 www-client/firefox/firefox-113.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-client/firefox/firefox-113.0.2.ebuild 
b/www-client/firefox/firefox-113.0.2.ebuild
index 00e00080656d..c0b560f16e62 100644
--- a/www-client/firefox/firefox-113.0.2.ebuild
+++ b/www-client/firefox/firefox-113.0.2.ebuild
@@ -208,7 +208,7 @@ llvm_check_deps() {
                return 1
        fi
 
-       if use clang && tc-ld-is-lld ; then
+       if use clang && ! tc-ld-is-mold ; then
                if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
                        einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot 
use LLVM slot ${LLVM_SLOT} ..." >&2
                        return 1

Reply via email to