Skip to content

Commit

Permalink
games-board/gnuchess: filter LTO (ODR)
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/858611
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jul 17, 2022
1 parent 0d0e7a6 commit 66d993a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion games-board/gnuchess/gnuchess-6.2.9.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
}

0 comments on commit 66d993a

Please sign in to comment.