From e13cc5d4a542131cd7f505e46ffefc5efd79edd4 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 11 Mar 2024 18:06:40 -0400 Subject: [PATCH] dev-debug/ddd: mark as LTO-unsafe Closes: https://bugs.gentoo.org/858347 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- 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 de0f8edcfecf1..78cd8cd26e4e7 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 57ef0f7ffdf54..d90d461ab5f54 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) }