From 8d11899d26e069449b3f753623a3e93cdf21b063 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 30 Jun 2024 19:36:36 -0400 Subject: dev-games/clanlib: mark as strict-aliasing unsafe Fixed in newer slots. Closes: https://bugs.gentoo.org/855308 Signed-off-by: Eli Schwartz Signed-off-by: Eli Schwartz --- dev-games/clanlib/clanlib-0.8.1-r2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'dev-games') diff --git a/dev-games/clanlib/clanlib-0.8.1-r2.ebuild b/dev-games/clanlib/clanlib-0.8.1-r2.ebuild index e14357adc276..6cb8b3b5e63e 100644 --- a/dev-games/clanlib/clanlib-0.8.1-r2.ebuild +++ b/dev-games/clanlib/clanlib-0.8.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Multi-platform game development library" HOMEPAGE="https://github.com/sphair/ClanLib" @@ -67,6 +67,13 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/855308 + # Fixed in newer versions + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + # clanSound only controls mikmod/vorbis so there's # no need to pass --{en,dis}able-clanSound ... # clanDisplay only controls X, SDL, OpenGL plugins -- cgit v1.2.3-65-gdbad