summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-08-06 22:06:26 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-08-06 22:17:17 -0400
commit6194f5483abd98ed4bccbda0d3accfbacfe8b0dd (patch)
tree783535f498677b5b146a1078e0986a5167d89ec8 /dev-lang/qu-prolog
parentdev-libs/kirigami-addons: drop 1.3.0 (diff)
downloadgentoo-6194f5483abd98ed4bccbda0d3accfbacfe8b0dd.tar.gz
gentoo-6194f5483abd98ed4bccbda0d3accfbacfe8b0dd.tar.bz2
gentoo-6194f5483abd98ed4bccbda0d3accfbacfe8b0dd.zip
dev-lang/qu-prolog: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/924768 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-lang/qu-prolog')
-rw-r--r--dev-lang/qu-prolog/qu-prolog-10.7.ebuild9
1 files changed, 8 insertions, 1 deletions
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) \