Add fortran flags
This commit is contained in:
parent
7283e39887
commit
d73d1a8ede
@ -103,12 +103,14 @@ EOF
|
|||||||
%build
|
%build
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
env CFLAGS="$RPM_OPT_FLAGS" \
|
env CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
||||||
ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
||||||
%__python3 setup.py config_fc \
|
%__python3 setup.py config_fc \
|
||||||
--fcompiler=gnu95 --noarch build
|
--fcompiler=gnu95 --noarch build
|
||||||
%endif # with _python3
|
%endif # with _python3
|
||||||
|
|
||||||
env CFLAGS="$RPM_OPT_FLAGS" \
|
env CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
||||||
ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
||||||
%__python2 setup.py config_fc \
|
%__python2 setup.py config_fc \
|
||||||
--fcompiler=gnu95 --noarch build
|
--fcompiler=gnu95 --noarch build
|
||||||
|
Loading…
Reference in New Issue
Block a user