commit:     0262b1c837e178a7d955d13f463d8ce648ee00ad
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 13 10:35:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 23:38:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0262b1c8

sys-devel/gdb: filter-lto

Lots of LTO warnings acknowledged upstream.

Closes: https://bugs.gentoo.org/853898
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 3 +++
 sys-devel/gdb/gdb-9999.ebuild    | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index d5ff38e3763a..ad612f81a82d 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -145,6 +145,9 @@ gdb_branding() {
 src_configure() {
        strip-unsupported-flags
 
+       # https://sourceware.org/PR22395, bug #853898
+       filter-lto
+
        # See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
        # Avoid really confusing logs from subconfigure spam, makes logs far
        # more legible.

diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild
index 085df52dacb9..e59893fec5d7 100644
--- a/sys-devel/gdb/gdb-9999.ebuild
+++ b/sys-devel/gdb/gdb-9999.ebuild
@@ -144,6 +144,9 @@ gdb_branding() {
 src_configure() {
        strip-unsupported-flags
 
+       # https://sourceware.org/PR22395, bug #853898
+       filter-lto
+
        # See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
        # Avoid really confusing logs from subconfigure spam, makes logs far
        # more legible.

Reply via email to