|
|
@ -158,7 +158,7 @@ cd build-static
|
|
|
|
# Java requires shared libraries, fortran requires static
|
|
|
|
# Java requires shared libraries, fortran requires static
|
|
|
|
|
|
|
|
|
|
|
|
# Temporary workaround for compiling on GCC-10
|
|
|
|
# Temporary workaround for compiling on GCC-10
|
|
|
|
%if (0%{?fedora} && 0%{?fedora} > 31) || (0%{?rhel} && 0%{?rhel} > 8)
|
|
|
|
%if 0%{?fedora} > 31 || 0%{?rhel} > 8
|
|
|
|
export FCFLAGS="%{build_fflags} -fallow-argument-mismatch"
|
|
|
|
export FCFLAGS="%{build_fflags} -fallow-argument-mismatch"
|
|
|
|
export FFLAGS="%{build_fflags} -fallow-argument-mismatch"
|
|
|
|
export FFLAGS="%{build_fflags} -fallow-argument-mismatch"
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|