diff options
Diffstat (limited to 'sci-libs/etsf_io/etsf_io-1.0.2.ebuild')
-rw-r--r-- | sci-libs/etsf_io/etsf_io-1.0.2.ebuild | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sci-libs/etsf_io/etsf_io-1.0.2.ebuild b/sci-libs/etsf_io/etsf_io-1.0.2.ebuild index 8626ce8..67cfd5e 100644 --- a/sci-libs/etsf_io/etsf_io-1.0.2.ebuild +++ b/sci-libs/etsf_io/etsf_io-1.0.2.ebuild @@ -26,19 +26,12 @@ src_prepare() { src_configure() { use debug || append-cppflags -DNDEBUG - if [[ -n ${FFLAGS} ]]; then - FCFLAGS="${FFLAGS}" - else - FCFLAGS="-O2" - einfo "Defaulting to ${FCFLAGS} for FFFLAGS" - fi - econf \ $(use_enable examples build-tutorials) \ --with-netcdf-ldflags="-L/usr/$(get_libdir)" \ --with-netcdf-libs="-lnetcdff" \ --with-moduledir=/usr/$(get_libdir)/finclude \ - FCFLAGS="${FCFLAGS}" + FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}" } src_test() { |