commit:     bbdbb368e5e05d1d2b4a2a734753e7b87edbcacd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 17 15:29:04 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 17 15:29:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbdbb368

games-arcade/cdogs-sdl: filter LTO (type mismatch)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
index 70ed391a2e22..3abc29134e7f 100644
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
 
 DESCRIPTION="Classic overhead run-and-gun game"
 HOMEPAGE="https://cxong.github.io/cdogs-sdl/";
@@ -25,6 +25,9 @@ PATCHES=(
 )
 
 src_configure() {
+       # LTO warnings, bug #858527
+       filter-lto
+
        local mycmakeargs=(
                -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
                -DBUILD_EDITOR=OFF

Reply via email to