commit:     84738888e5ceb53d7cb7555c15da67fc81f55cd3
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  5 04:44:41 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Mar  5 04:50:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84738888

dev-qt/qtwebengine: explicitly filter-lto

Kind of forgot strip-flags no longer filters lto. Not that it was
*needed* given qt6-build.eclass filters lto either way but these
should be considered separate issues (aka, we may drop it from
qt6-build.eclass in the future but keep it in qtwebengine, or at
least when using gcc).

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild | 4 +++-
 dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild | 4 +++-
 dev-qt/qtwebengine/qtwebengine-6.9.9999.ebuild | 4 +++-
 dev-qt/qtwebengine/qtwebengine-6.9999.ebuild   | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild 
b/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild
index 62c463abe8da..3c0dc3435adf 100644
--- a/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild
@@ -235,7 +235,9 @@ src_configure() {
        )
 
        if use !custom-cflags; then
-               strip-flags # fragile
+               # qtwebengine can be rather fragile with *FLAGS
+               filter-lto
+               strip-flags
 
                # temporary workaround for bug #947356, should be fixed in Qt 
6.9.x
                append-cppflags -U_GLIBCXX_ASSERTIONS

diff --git a/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild 
b/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild
index 7483978a7750..e76cbf965cca 100644
--- a/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild
@@ -235,7 +235,9 @@ src_configure() {
        )
 
        if use !custom-cflags; then
-               strip-flags # fragile
+               # qtwebengine can be rather fragile with *FLAGS
+               filter-lto
+               strip-flags
 
                # temporary workaround for bug #947356, should be fixed in Qt 
6.9.x
                append-cppflags -U_GLIBCXX_ASSERTIONS

diff --git a/dev-qt/qtwebengine/qtwebengine-6.9.9999.ebuild 
b/dev-qt/qtwebengine/qtwebengine-6.9.9999.ebuild
index 0ad5fc92b2d8..60fa013187e4 100644
--- a/dev-qt/qtwebengine/qtwebengine-6.9.9999.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-6.9.9999.ebuild
@@ -235,7 +235,9 @@ src_configure() {
        )
 
        if use !custom-cflags; then
-               strip-flags # fragile
+               # qtwebengine can be rather fragile with *FLAGS
+               filter-lto
+               strip-flags
 
                if is-flagq '-g?(gdb)?([2-9])'; then #914475
                        replace-flags '-g?(gdb)?([2-9])' -g1

diff --git a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild 
b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
index beee970f5761..34193d013e2c 100644
--- a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
@@ -234,7 +234,9 @@ src_configure() {
        )
 
        if use !custom-cflags; then
-               strip-flags # fragile
+               # qtwebengine can be rather fragile with *FLAGS
+               filter-lto
+               strip-flags
 
                if is-flagq '-g?(gdb)?([2-9])'; then #914475
                        replace-flags '-g?(gdb)?([2-9])' -g1

Reply via email to