From 5c6938cabc43d900fa8e1090cf580b521c7e8bec Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 12 May 2024 13:58:38 -0400 Subject: games-fps/quake2-icculus: mark as LTO-unsafe, strict-aliasing unsafe Upstream is dead since 2006, no use reporting anything. Even then, their last act was to convert CVS to SVN. Closes: https://bugs.gentoo.org/858752 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- games-fps/quake2-icculus/quake2-icculus-0.16.1-r2.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/games-fps/quake2-icculus/quake2-icculus-0.16.1-r2.ebuild b/games-fps/quake2-icculus/quake2-icculus-0.16.1-r2.ebuild index ef6f7b8b34a4..29ebfee4ab85 100644 --- a/games-fps/quake2-icculus/quake2-icculus-0.16.1-r2.ebuild +++ b/games-fps/quake2-icculus/quake2-icculus-0.16.1-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 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 MY_P="quake2-r${PV}" DESCRIPTION="The icculus.org Linux port of iD's Quake 2 engine" @@ -102,6 +102,14 @@ yesno() { } src_compile() { + # -Werror=strict-aliasing, also -Werror=lto-type-mismatch + # https://bugs.gentoo.org/858752 + # + # Upstream last committed changes in 2006, and that was "Switch from CVS to SVN". + # Effectively no mailing list discussion since then (sporadic posts from users). + append-flags -fno-strict-aliasing + filter-lto + # xatrix fails to build # rogue fails to build local libsuffix -- cgit v1.2.3-65-gdbad