commit: 46b9cf346a38c8ac7e937bb7f83680498292dfeb Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu Mar 21 23:57:48 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 22 05:31:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b9cf34
sci-mathematics/gfan: mark as LTO-unsafe Closes: https://bugs.gentoo.org/863044 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> 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 e4c81181dbaf..29b330866f46 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