summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-05-16 01:22:34 -0400
committerSam James <sam@gentoo.org>2024-05-17 04:55:26 +0100
commit261c1089559f919eef2f79eada4301861b0af0d3 (patch)
tree26c93a8742adccf67a1740c9ca720f4cdb78f6d0 /dev-lang
parentdev-lang/xsb: update HOMEPAGE for HTTPS support (diff)
downloadgentoo-261c1089559f919eef2f79eada4301861b0af0d3.tar.gz
gentoo-261c1089559f919eef2f79eada4301861b0af0d3.tar.bz2
gentoo-261c1089559f919eef2f79eada4301861b0af0d3.zip
dev-lang/xsb: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/855659 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/xsb/xsb-4.0.0-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-lang/xsb/xsb-4.0.0-r1.ebuild b/dev-lang/xsb/xsb-4.0.0-r1.ebuild
index fa64c0362321..bf99d5d3efb6 100644
--- a/dev-lang/xsb/xsb-4.0.0-r1.ebuild
+++ b/dev-lang/xsb/xsb-4.0.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PATCHSET_VER="3"
-inherit autotools java-pkg-opt-2
+inherit autotools flag-o-matic java-pkg-opt-2
DESCRIPTION="XSB is a logic programming and deductive database system"
HOMEPAGE="https://xsb.sourceforge.net"
@@ -55,6 +55,12 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing, -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/855659
+ # https://sourceforge.net/p/xsb/bugs/264/
+ append-flags -fno-strict-aliasing
+ filter-lto
+
cd "${S}"/build
econf \