summaryrefslogtreecommitdiff
path: root/sci-libs/profnet/profnet-1.0.22.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/profnet/profnet-1.0.22.ebuild')
-rw-r--r--sci-libs/profnet/profnet-1.0.22.ebuild8
1 files changed, 7 insertions, 1 deletions
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)" \