From 29582e0918323c8387c194751daacf3be5806211 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 6 May 2024 01:44:31 -0400 Subject: dev-games/libnw: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/855314 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- dev-games/libnw/libnw-1.30.02.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'dev-games/libnw') diff --git a/dev-games/libnw/libnw-1.30.02.ebuild b/dev-games/libnw/libnw-1.30.02.ebuild index 385052cc6d6e..668d19690ede 100644 --- a/dev-games/libnw/libnw-1.30.02.ebuild +++ b/dev-games/libnw/libnw-1.30.02.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Tools and libraries for NWN file manipulation" HOMEPAGE="https://sourceforge.net/projects/openknights" @@ -23,9 +23,17 @@ DOCS=( AUTHORS ChangeLog NEWS README README.tech TODO ) src_prepare() { default eautoreconf + } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/855314 + # + # Sourceforge software dead since 2006, no point reporting anything. + append-flags -fno-strict-aliasing + filter-lto + econf --disable-static } -- cgit v1.2.3-65-gdbad