commit:     c8f56e7d9f586ac079f8433998676827f4781e3c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 03:28:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 05:21:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f56e7d

games-engines/gargoyle: filter LTO, no-SA

Aliasing violations in bundled library. I get the impression upstream isn't
interested in fixing these.

Closes: https://bugs.gentoo.org/858716
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-engines/gargoyle/gargoyle-2019.1.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild 
b/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
index 167f28407813..e37df39de5b6 100644
--- a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
+++ b/games-engines/gargoyle/gargoyle-2019.1.1.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
 
 # Regarding licenses: libgarglk is licensed under the GPLv2. Bundled
@@ -64,6 +64,10 @@ src_prepare() {
 }
 
 src_compile() {
+       # Aliasing violations in bundled glulxe library (bug #858716)
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        # build system messes up flags and toolchain completely
        # append flags to compiler commands to have consistent behavior
        jam \

Reply via email to