summaryrefslogtreecommitdiff
path: root/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild')
-rw-r--r--sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild
index d89617045f7d..fc08cfb95414 100644
--- a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild
+++ b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild
@@ -5,7 +5,7 @@ EAPI=8
FORTRAN_STANDARD="77 90"
-inherit autotools fortran-2
+inherit autotools flag-o-matic fortran-2
DESCRIPTION="Scientific library and interface for array oriented data access"
HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/"
@@ -28,6 +28,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/927588
+ # https://github.com/Unidata/netcdf-fortran/issues/437
+ filter-lto
+
econf \
--disable-valgrind \
--with-temp-large="${T}" \