summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-14 03:28:24 +0000
committerSam James <sam@gentoo.org>2024-03-14 05:21:11 +0000
commitc8f56e7d9f586ac079f8433998676827f4781e3c (patch)
treec18c87ec4d52a91cf275ead423aa0e60dcdb2962 /games-engines/gargoyle
parentmedia-libs/openjpeg: fix misspelled date (diff)
downloadgentoo-c8f56e7d9f586ac079f8433998676827f4781e3c.tar.gz
gentoo-c8f56e7d9f586ac079f8433998676827f4781e3c.tar.bz2
gentoo-c8f56e7d9f586ac079f8433998676827f4781e3c.zip
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@gentoo.org>
Diffstat (limited to 'games-engines/gargoyle')
-rw-r--r--games-engines/gargoyle/gargoyle-2019.1.1.ebuild6
1 files changed, 5 insertions, 1 deletions
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 \