summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-17 23:25:33 -0400
committerSam James <sam@gentoo.org>2024-03-18 05:30:03 +0000
commitbdbed1c82f54aea340662935fedd3fb3ead71ab0 (patch)
tree982a7d4c273fe69eb972ffc1b0ba4d5ab42a7890
parentmedia-libs/sdl-image: make sure elibtoolize is applied (diff)
downloadgentoo-bdbed1c82f54aea340662935fedd3fb3ead71ab0.tar.gz
gentoo-bdbed1c82f54aea340662935fedd3fb3ead71ab0.tar.bz2
gentoo-bdbed1c82f54aea340662935fedd3fb3ead71ab0.zip
games-sports/ultimatestunts: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/859241 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--games-sports/ultimatestunts/ultimatestunts-0.7.7-r1.ebuild10
1 files changed, 9 insertions, 1 deletions
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)