commit:     e13cc5d4a542131cd7f505e46ffefc5efd79edd4
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 11 22:06:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 23:51:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e13cc5d4

dev-debug/ddd: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/858347
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/ddd/ddd-3.3.12-r5.ebuild | 7 ++++++-
 dev-debug/ddd/ddd-3.4.0.ebuild     | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev-debug/ddd/ddd-3.3.12-r5.ebuild 
b/dev-debug/ddd/ddd-3.3.12-r5.ebuild
index de0f8edcfecf..78cd8cd26e4e 100644
--- a/dev-debug/ddd/ddd-3.3.12-r5.ebuild
+++ b/dev-debug/ddd/ddd-3.3.12-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools desktop optfeature
+inherit autotools desktop flag-o-matic optfeature
 
 DESCRIPTION="Graphical front-end for command-line debuggers"
 HOMEPAGE="https://www.gnu.org/software/ddd";
@@ -57,6 +57,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/858347
+       # https://savannah.gnu.org/bugs/?65456
+       filter-lto
+
        econf \
                $(use_with readline)
 }

diff --git a/dev-debug/ddd/ddd-3.4.0.ebuild b/dev-debug/ddd/ddd-3.4.0.ebuild
index 57ef0f7ffdf5..d90d461ab5f5 100644
--- a/dev-debug/ddd/ddd-3.4.0.ebuild
+++ b/dev-debug/ddd/ddd-3.4.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools desktop optfeature
+inherit autotools desktop flag-o-matic optfeature
 
 DESCRIPTION="Graphical front-end for command-line debuggers"
 HOMEPAGE="https://www.gnu.org/software/ddd";
@@ -54,6 +54,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/858347
+       # https://savannah.gnu.org/bugs/?65456
+       filter-lto
+
        econf \
                $(use_with readline)
 }

Reply via email to