commit: eb916487abe8a1df386292e1221f0b2173dd0209
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 12 07:34:48 2025 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Nov 12 07:34:48 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb916487
www-client/firefox: match the gcc check if gcc:15 is found in 145.0
These checks are most likely going to stay for a while, so ideally this could
be a single function to call in future.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/firefox-145.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-client/firefox/firefox-145.0.ebuild
b/www-client/firefox/firefox-145.0.ebuild
index fd1e59e66bb4..b2c00e895c3a 100644
--- a/www-client/firefox/firefox-145.0.ebuild
+++ b/www-client/firefox/firefox-145.0.ebuild
@@ -473,7 +473,7 @@ pkg_pretend() {
CHECKREQS_DISK_BUILD="10600M"
if ! use clang ; then
- if tc-is-gcc && ver_test "$(gcc-major-version)"
-le 15 && has_version -b "<sys-devel/gcc-15.2.1_p20251108-r1:15"; then
+ if tc-is-gcc && ver_test "$(gcc-major-version)"
-eq 15 && has_version -b "<sys-devel/gcc-15.2.1_p20251108-r1:15"; then
eerror "<gcc-15.2.1_p20251108-r1:15 and
lto detected. Firefox-145.0 can not be compiled"
eerror "with this GCC, when also
enabling lto."
eerror "See bug
https://gcc.gnu.org/PR122620"