From 46b9cf346a38c8ac7e937bb7f83680498292dfeb Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 21 Mar 2024 19:57:48 -0400 Subject: [PATCH] sci-mathematics/gfan: mark as LTO-unsafe Closes: https://bugs.gentoo.org/863044 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- sci-mathematics/gfan/gfan-0.6.2-r4.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/gfan/gfan-0.6.2-r4.ebuild b/sci-mathematics/gfan/gfan-0.6.2-r4.ebuild index e4c81181dbafe..29b330866f46a 100644 --- a/sci-mathematics/gfan/gfan-0.6.2-r4.ebuild +++ b/sci-mathematics/gfan/gfan-0.6.2-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -48,6 +48,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/863044 + # Only contact method is email. I have sent one detailing the issue. + filter-lto + # The upstream Makefile says that GCC produces bad code with -O3. replace-flags "-O3" "-O2" default