summaryrefslogtreecommitdiff
path: root/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild')
-rw-r--r--sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild
index 039b318c01be..39fb7c61d4a2 100644
--- a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.3.0-r2.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
@@ -6,7 +6,7 @@ EAPI=8
FORTRAN_NEEDED="fortran"
FORTRAN_STANDARD="90 2003"
-inherit cmake fortran-2
+inherit cmake flag-o-matic fortran-2
DESCRIPTION="CFD General Notation System standard library"
HOMEPAGE="
@@ -56,6 +56,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/862684
+ # https://github.com/CGNS/CGNS/issues/758
+ filter-lto
+
local mycmakeargs=(
-DCGNS_BUILD_SHARED=ON
-DCGNS_USE_SHARED=ON