commit:     962c3b96b60136fb17e913897ac462b85a25a735
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 17 18:08:01 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 17 18:08:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962c3b96

games-board/xmille: filter LTO (type mismatch)

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

 games-board/xmille/xmille-2.0-r4.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-board/xmille/xmille-2.0-r4.ebuild 
b/games-board/xmille/xmille-2.0-r4.ebuild
index 966fec4aec02..88cc7b1c9dff 100644
--- a/games-board/xmille/xmille-2.0-r4.ebuild
+++ b/games-board/xmille/xmille-2.0-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit desktop toolchain-funcs
+inherit desktop flag-o-matic toolchain-funcs
 
 DEB_PATCH_VER="13"
 DESCRIPTION="Mille Bournes card game"
@@ -29,6 +29,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #858620
+       filter-lto
+
        CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
                IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }

Reply via email to