summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-17 18:05:49 +0000
committerSam James <sam@gentoo.org>2022-07-17 18:05:49 +0000
commit66d993abaf8b84beb25d21ce462dd6d5ffcb2717 (patch)
tree0317c16fcccd606a95cca7a85c43ee4e2bd175f1 /games-board
parentmedia-gfx/imagemagick: drop 7.1.0.37 (diff)
downloadgentoo-66d993abaf8b84beb25d21ce462dd6d5ffcb2717.tar.gz
gentoo-66d993abaf8b84beb25d21ce462dd6d5ffcb2717.tar.bz2
gentoo-66d993abaf8b84beb25d21ce462dd6d5ffcb2717.zip
games-board/gnuchess: filter LTO (ODR)
Closes: https://bugs.gentoo.org/858611 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnuchess/gnuchess-6.2.9.ebuild7
1 files changed, 6 insertions, 1 deletions
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
}