commit:     036ffaac92fed0a29389e8b04ea13f9f8320ec97
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 06:13:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 06:13:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=036ffaac

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 <AT> gentoo.org>

 games-fps/darkplaces/darkplaces-20140513-r2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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

Reply via email to