Add missing %{optflags}.

This commit is contained in:
Susi Lehtola 2018-08-24 18:40:04 +02:00
parent 1cd0139cf2
commit 72915d5464
1 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,7 @@
Name: openblas
Version: 0.3.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: An optimized BLAS library based on GotoBLAS2
Group: Development/Libraries
License: BSD
@ -396,6 +396,7 @@ TARGET="TARGET=ZARCH_GENERIC DYNAMIC_ARCH=0"
COMMON="%{optflags} -fPIC"
FCOMMON="%{optflags} -fPIC"
%else
COMMON="%{optflags} -fPIC"
FCOMMON="%{optflags} -fPIC -frecursive"
%endif
# Use Fedora linker flags
@ -688,6 +689,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
%endif
%changelog
* Thu Aug 02 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.2-3
- Add missing %%{optflags} to COMMON (see discussion in #1619074).
* Wed Aug 15 2018 Dan Horák <dan[at]danny.cz> - 0.3.2-2
- Explicitly set the target to generic on s390x to avoid surprises (#1615760)