sci-mathematics/gfan: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/863044
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-03-21 19:57:48 -04:00
committed by Sam James
parent 05405d8410
commit 46b9cf346a

View File

@@ -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