From b6df48270423341e99a4ee10d01b11e7e777068e Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 2 Sep 2024 20:39:46 -0400 Subject: sci-visualization/grace: mark as LTO-unsafe, strict-aliasing unsafe Upstream is deader than dead, unfortunately. Closes: https://bugs.gentoo.org/863293 Signed-off-by: Eli Schwartz --- sci-visualization/grace/grace-5.1.25_p17.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sci-visualization') diff --git a/sci-visualization/grace/grace-5.1.25_p17.ebuild b/sci-visualization/grace/grace-5.1.25_p17.ebuild index 3db7ac26d8a1..2e8a4182babb 100644 --- a/sci-visualization/grace/grace-5.1.25_p17.ebuild +++ b/sci-visualization/grace/grace-5.1.25_p17.ebuild @@ -4,7 +4,7 @@ EAPI=8 FORTRAN_NEEDED=fortran -inherit desktop fortran-2 toolchain-funcs xdg +inherit desktop flag-o-matic fortran-2 toolchain-funcs xdg DESCRIPTION="Motif based XY-plotting tool" HOMEPAGE="https://plasma-gate.weizmann.ac.il/Grace/" @@ -79,6 +79,11 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing, -Werror=lto-type-mismatch + # https://bugs.gentoo.org/863293 + append-flags -fno-strict-aliasing + filter-lto + tc-export CC AR # the configure script just produces a basic Make.conf -- cgit v1.2.3-65-gdbad