Export FFLAGS too
This commit is contained in:
parent
4a8a1b17e2
commit
c711f74cfd
1
hdf.spec
1
hdf.spec
|
@ -160,6 +160,7 @@ cd build-static
|
||||||
# Temporary workaround for compiling on GCC-10
|
# Temporary workaround for compiling on GCC-10
|
||||||
%if 0%{?fedora} && 0%{?fedora} > 31
|
%if 0%{?fedora} && 0%{?fedora} > 31
|
||||||
export FCFLAGS="%{build_fflags} -fallow-argument-mismatch"
|
export FCFLAGS="%{build_fflags} -fallow-argument-mismatch"
|
||||||
|
export FFLAGS="%{build_fflags} -fallow-argument-mismatch"
|
||||||
%endif
|
%endif
|
||||||
%configure --disable-production --disable-java --disable-netcdf \
|
%configure --disable-production --disable-java --disable-netcdf \
|
||||||
--enable-shared=no --enable-static=yes --enable-fortran %{!?el6:--with-szlib} \
|
--enable-shared=no --enable-static=yes --enable-fortran %{!?el6:--with-szlib} \
|
||||||
|
|
Loading…
Reference in New Issue