diff options
Diffstat (limited to 'sci-libs/hdf/hdf-4.2.13-r1.ebuild')
-rw-r--r-- | sci-libs/hdf/hdf-4.2.13-r1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-libs/hdf/hdf-4.2.13-r1.ebuild b/sci-libs/hdf/hdf-4.2.13-r1.ebuild index ae60cc865d33..cb609f264b5f 100644 --- a/sci-libs/hdf/hdf-4.2.13-r1.ebuild +++ b/sci-libs/hdf/hdf-4.2.13-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -41,10 +41,12 @@ src_prepare() { default sed -i -e 's/-R/-L/g' config/commence.am || die #rpath eautoreconf - [[ $(tc-getFC) = *gfortran ]] && append-fflags -fno-range-check } src_configure() { + [[ $(tc-getFC) = *gfortran ]] && append-fflags -fno-range-check + append-fflags $(test-flags-FC -fallow-argument-mismatch) + econf \ --enable-shared \ --enable-production=gentoo \ |