commit: 261c1089559f919eef2f79eada4301861b0af0d3 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu May 16 05:22:34 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 17 03:55:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=261c1089
dev-lang/xsb: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/855659 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/xsb/xsb-4.0.0-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 \
