summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2022-07-22 16:36:23 -0400
committerJoonas Niilola <juippis@gentoo.org>2022-08-04 10:04:43 +0300
commita19c006e1cf58d10c82fe9a944b490780cbddcc0 (patch)
tree99e40bf4d86eb4f7ee98123217a22b53261ce4b1 /games-fps/gzdoom
parentdev-python/pyroute2: Remove old (diff)
downloadgentoo-a19c006e1cf58d10c82fe9a944b490780cbddcc0.tar.gz
gentoo-a19c006e1cf58d10c82fe9a944b490780cbddcc0.tar.bz2
gentoo-a19c006e1cf58d10c82fe9a944b490780cbddcc0.zip
games-fps/gzdoom: Filter LTO and disable strict aliasing
Closes: https://bugs.gentoo.org/858749 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26525 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-fps/gzdoom')
-rw-r--r--games-fps/gzdoom/gzdoom-4.8.2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/games-fps/gzdoom/gzdoom-4.8.2.ebuild b/games-fps/gzdoom/gzdoom-4.8.2.ebuild
index f697ad1bc5eb..ab1b0da8c59c 100644
--- a/games-fps/gzdoom/gzdoom-4.8.2.ebuild
+++ b/games-fps/gzdoom/gzdoom-4.8.2.ebuild
@@ -44,6 +44,10 @@ src_prepare() {
}
src_configure() {
+ # https://bugs.gentoo.org/858749
+ filter-lto
+ append-flags -fno-strict-aliasing
+
local mycmakeargs=(
-DBUILD_SHARED_LIBS=OFF
-DINSTALL_DOCS_PATH="${EPREFIX}/usr/share/doc/${PF}"