commit:     b944dd349cf4060013bcab09b6841eae9294dde1
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 29 13:43:44 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct 29 13:47:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b944dd34

www-client/firefox: filter -Werror=lto-type-mismatch -Werror=odr on 132

 - these lto-related flags are going to fail with GCC, which is now the
   default-enabled compiler for 132.0.

Closes: https://bugs.gentoo.org/942288
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/firefox-132.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www-client/firefox/firefox-132.0.ebuild 
b/www-client/firefox/firefox-132.0.ebuild
index 52ebec66b92e..8cfa5b1c3a92 100644
--- a/www-client/firefox/firefox-132.0.ebuild
+++ b/www-client/firefox/firefox-132.0.ebuild
@@ -898,7 +898,10 @@ src_configure() {
        fi
 
        # LTO is handled via configure
+       # -Werror=lto-type-mismatch -Werror=odr are going to fail with GCC, 
+       # bmo#1516758, bgo#942288
        filter-lto
+       filter-flags -Werror=lto-type-mismatch -Werror=odr
 
        if use lto ; then
                if use clang ; then

Reply via email to