build_ldflags doesn't work on anything older than F28.
This commit is contained in:
parent
0b4debe861
commit
df383771d4
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
Name: openblas
|
Name: openblas
|
||||||
Version: 0.2.20
|
Version: 0.2.20
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: An optimized BLAS library based on GotoBLAS2
|
Summary: An optimized BLAS library based on GotoBLAS2
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -378,7 +378,8 @@ FCOMMON="%{optflags} -fPIC"
|
|||||||
%else
|
%else
|
||||||
FCOMMON="%{optflags} -fPIC -frecursive"
|
FCOMMON="%{optflags} -fPIC -frecursive"
|
||||||
%endif
|
%endif
|
||||||
export LDFLAGS="%{build_ldflags}"
|
# Use Fedora linker flags
|
||||||
|
export LDFLAGS="%{__global_ldflags}"
|
||||||
|
|
||||||
make -C Rblas $TARGET USE_THREAD=0 USEOPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libRblas" LIBSONAME="libRblas.so" $AVX $LAPACKE INTERFACE64=0
|
make -C Rblas $TARGET USE_THREAD=0 USEOPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libRblas" LIBSONAME="libRblas.so" $AVX $LAPACKE INTERFACE64=0
|
||||||
|
|
||||||
@ -664,6 +665,10 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 27 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-8
|
||||||
|
- Use %%__global_ldflags instead of %%build_ldflags that doesn't work on
|
||||||
|
all distributions.
|
||||||
|
|
||||||
* Tue Feb 27 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-7
|
* Tue Feb 27 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-7
|
||||||
- Honor Fedora linker flags (BZ #1548750).
|
- Honor Fedora linker flags (BZ #1548750).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user