From 6194f5483abd98ed4bccbda0d3accfbacfe8b0dd Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 6 Aug 2024 22:06:26 -0400 Subject: dev-lang/qu-prolog: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/924768 Signed-off-by: Eli Schwartz --- 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) \ -- cgit v1.2.3-65-gdbad