commit:     6194f5483abd98ed4bccbda0d3accfbacfe8b0dd
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  7 02:06:26 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed Aug  7 02:17:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6194f548

dev-lang/qu-prolog: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/924768
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-lang/qu-prolog/qu-prolog-10.7.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-lang/qu-prolog/qu-prolog-10.7.ebuild 
b/dev-lang/qu-prolog/qu-prolog-10.7.ebuild
index bc555920919e..c95725083732 100644
--- a/dev-lang/qu-prolog/qu-prolog-10.7.ebuild
+++ b/dev-lang/qu-prolog/qu-prolog-10.7.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit autotools python-any-r1 qmake-utils
+inherit autotools flag-o-matic python-any-r1 qmake-utils
 
 MY_P=qp${PV}
 
@@ -46,6 +46,13 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=strict-aliasing
+       # https://bugs.gentoo.org/924768
+       # Upstream's sole provided contact method is email. I have sent an email
+       # describing the issue. -- Eli
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        econf \
                --libdir=/usr/$(get_libdir) \
                $(use_enable debug) \

Reply via email to