commit:     66d993abaf8b84beb25d21ce462dd6d5ffcb2717
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 17 18:05:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 17 18:05:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d993ab

games-board/gnuchess: filter LTO (ODR)

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

 games-board/gnuchess/gnuchess-6.2.9.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.9.ebuild 
b/games-board/gnuchess/gnuchess-6.2.9.ebuild
index 886f173195d4..85c25649da82 100644
--- a/games-board/gnuchess/gnuchess-6.2.9.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.9.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit flag-o-matic
+
 DESCRIPTION="Console based chess interface"
 HOMEPAGE="https://www.gnu.org/software/chess/chess.html";
 SRC_URI="mirror://gnu/chess/${P}.tar.gz"
@@ -12,6 +14,9 @@ SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86"
 
 src_configure() {
+       # -Wodr warnings, bug #858611
+       filter-lto
+
        # bug #491088
        econf --without-readline
 }

Reply via email to