commit:     48a5756b827ea777e5ee15c6c3cc2bc09bdd7ebb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 17 15:30:23 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 17 15:30:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a5756b

games-action/moon-buggy: filter LTO (type mismatch)

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

 games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild 
b/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild
index 9430a6baa4a0..f6dbd7d4292c 100644
--- a/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild
+++ b/games-action/moon-buggy/moon-buggy-1.0.51-r2.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 autotools toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
 
 DESCRIPTION="Simple console game, where you drive a car across the moon's 
surface"
 HOMEPAGE="https://www.seehuhn.de/pages/moon-buggy.html";
@@ -28,6 +28,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # LTO warnings, bug #858518
+       filter-lto
+
        econf \
                --sharedstatedir="${EPREFIX}/var/games" \
                --with-curses-libs="$($(tc-getPKG_CONFIG) ncurses --libs)"

Reply via email to