commit:     deb948ddc4058ca921a16d74e66f5d4d52faf828
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  2 16:42:54 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Sun Nov  2 17:58:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb948dd

app-office/abiword: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/940907
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 app-office/abiword/abiword-3.0.6-r2.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-office/abiword/abiword-3.0.6-r2.ebuild 
b/app-office/abiword/abiword-3.0.6-r2.ebuild
index 3e35deaf8fa3..67d5302be314 100644
--- a/app-office/abiword/abiword-3.0.6-r2.ebuild
+++ b/app-office/abiword/abiword-3.0.6-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{11..13} )
 
-inherit autotools python-single-r1 xdg
+inherit autotools flag-o-matic python-single-r1 xdg
 
 DESCRIPTION="Fully featured yet light and fast cross platform word processor"
 HOMEPAGE="http://www.abisource.com/";
@@ -91,6 +91,14 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/940907
+       #
+       # Upstream closed as wontfix. The bug is gone due to refactoring (?) in 
the
+       # unreleased 4.x branch. "The stable branch (3.0.x) will not get any
+       # significant changes."
+       filter-lto
+
        local plugins=()
 
        if use plugins; then

Reply via email to