diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-05-12 13:58:38 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-12 23:38:50 +0100 |
commit | 5c6938cabc43d900fa8e1090cf580b521c7e8bec (patch) | |
tree | fb49eafca4705414c248285d78d83adbc7078418 | |
parent | sys-kernel/modprobed-db: add 2.47 (diff) | |
download | gentoo-5c6938cabc43d900fa8e1090cf580b521c7e8bec.tar.gz gentoo-5c6938cabc43d900fa8e1090cf580b521c7e8bec.tar.bz2 gentoo-5c6938cabc43d900fa8e1090cf580b521c7e8bec.zip |
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 <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | games-fps/quake2-icculus/quake2-icculus-0.16.1-r2.ebuild | 12 |
1 files 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 |