commit:     e8843079a4a0cb9e8d549b4ca5d52b787c79b23e
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 21:29:43 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 03:36:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8843079

sci-libs/profnet: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/862921
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/profnet/profnet-1.0.22.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sci-libs/profnet/profnet-1.0.22.ebuild 
b/sci-libs/profnet/profnet-1.0.22.ebuild
index ba10260fc635..dfc60db98e74 100644
--- a/sci-libs/profnet/profnet-1.0.22.ebuild
+++ b/sci-libs/profnet/profnet-1.0.22.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -24,6 +24,12 @@ src_prepare() {
 }
 
 src_compile() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/862921
+       # No upstream bug. Upstream link seemingly doesn't provide any 
information
+       # about this specific project.
+       filter-lto
+
        append-fflags $(test-flags-FC -fallow-argument-mismatch)
        emake \
                F77="$(tc-getF77)" \

Reply via email to