commit:     bdbed1c82f54aea340662935fedd3fb3ead71ab0
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 18 03:25:33 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 05:30:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdbed1c8

games-sports/ultimatestunts: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/859241
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-sports/ultimatestunts/ultimatestunts-0.7.7-r1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.7-r1.ebuild 
b/games-sports/ultimatestunts/ultimatestunts-0.7.7-r1.ebuild
index 137e74c65545..5f71f726376e 100644
--- a/games-sports/ultimatestunts/ultimatestunts-0.7.7-r1.ebuild
+++ b/games-sports/ultimatestunts/ultimatestunts-0.7.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -43,6 +43,14 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=strict-aliasing
+       # https://bugs.gentoo.org/859241
+       # Upstream sourceforge is inactive since 2017. No bug filed
+       #
+       # Do not trust with LTO either.
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        econf \
                --with-openal \
                $(use_enable nls)

Reply via email to