summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-17 15:30:23 +0000
committerSam James <sam@gentoo.org>2022-07-17 15:30:23 +0000
commit48a5756b827ea777e5ee15c6c3cc2bc09bdd7ebb (patch)
tree4598f256104e40acd84faa9ba1739008bd9cb703 /games-action/moon-buggy
parentgames-arcade/cdogs-sdl: filter LTO (type mismatch) (diff)
downloadgentoo-48a5756b827ea777e5ee15c6c3cc2bc09bdd7ebb.tar.gz
gentoo-48a5756b827ea777e5ee15c6c3cc2bc09bdd7ebb.tar.bz2
gentoo-48a5756b827ea777e5ee15c6c3cc2bc09bdd7ebb.zip
games-action/moon-buggy: filter LTO (type mismatch)
Closes: https://bugs.gentoo.org/858518 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-action/moon-buggy')
-rw-r--r--games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild7
1 files 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)"