diff --git a/lapack.spec b/lapack.spec index bedbc1de3053d4647e0e656611978963c518256e..2b33e1129db72301b584b94f4c85df4517b5b6ee 100644 --- a/lapack.spec +++ b/lapack.spec @@ -5,7 +5,7 @@ Name: lapack Version: %{mediumver}.0 -Release: 5 +Release: 6 Summary: The LAPACK libraries for numerical linear algebra. License: BSD URL: http://www.netlib.org/lapack/ @@ -59,8 +59,8 @@ The %{name}-help package conatins man manual etc cp -f make.inc.example make.inc sed -i "s|librefblas.a|libblas.a|g" make.inc # Please take care the changes when upgrading the software package -sed -i '37iCFLAGS+= -fstack-protector-strong -fPIC' LAPACKE/utils/Makefile -sed -i '40iCFLAGS+= -fstack-protector-strong -fPIC' LAPACKE/src/Makefile +sed -i '37iCFLAGS+= -fstack-protector-strong -fPIC -D_FORTIFY_SOURCE=2' LAPACKE/utils/Makefile +sed -i '40iCFLAGS+= -fstack-protector-strong -fPIC -D_FORTIFY_SOURCE=2' LAPACKE/src/Makefile %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS -frecursive" @@ -207,6 +207,9 @@ sed -i 's|@LAPACK_VERSION@|%{version}|g' %{buildroot}%{_libdir}/pkgconfig/lapack %endif %changelog +* Tue Sep 20 2022 Wenyu Liu - 3.9.0-6 +- Add the FS compiler options for gcc + * Thu Dec 16 2021 qinyu - 3.9.0-5 - fix out of bounds read in xlarrv