commit:     a19c006e1cf58d10c82fe9a944b490780cbddcc0
Author:     William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Fri Jul 22 20:36:23 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug  4 07:04:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19c006e

games-fps/gzdoom: Filter LTO and disable strict aliasing

Closes: https://bugs.gentoo.org/858749
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26525
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 games-fps/gzdoom/gzdoom-4.8.2.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

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}"

Reply via email to