summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-06 06:13:19 +0000
committerSam James <sam@gentoo.org>2024-03-06 06:13:19 +0000
commit036ffaac92fed0a29389e8b04ea13f9f8320ec97 (patch)
tree745ede73f80465118f69b723be905d33f8d5992a /games-fps/darkplaces
parentgames-fps/darkplaces: add github upstream metadata (diff)
downloadgentoo-036ffaac92fed0a29389e8b04ea13f9f8320ec97.tar.gz
gentoo-036ffaac92fed0a29389e8b04ea13f9f8320ec97.tar.bz2
gentoo-036ffaac92fed0a29389e8b04ea13f9f8320ec97.zip
games-fps/darkplaces: filter LTO, no SA
There's a lot of SA fixes in git, add a comment in the ebuild about that to revisit later. But not going to backport them right now. Closes: https://bugs.gentoo.org/858740 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-fps/darkplaces')
-rw-r--r--games-fps/darkplaces/darkplaces-20140513-r2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/games-fps/darkplaces/darkplaces-20140513-r2.ebuild b/games-fps/darkplaces/darkplaces-20140513-r2.ebuild
index 80635bac833c..5f728ab6f31e 100644
--- a/games-fps/darkplaces/darkplaces-20140513-r2.ebuild
+++ b/games-fps/darkplaces/darkplaces-20140513-r2.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=7
@@ -127,6 +127,11 @@ src_compile() {
# bug #739194
unset STRIP
+ # Strict aliasing violations (bug #858740), but they seem to be fixed in git.
+ # Check on next release (>20140513) / snapshot.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
tc-export CC
# Preferred sound is alsa