Added -fstack-protector-strong to CFLAGS

Resolves: #1988402
This commit is contained in:
Ondrej Dubaj 2021-08-23 08:36:43 +02:00
parent 7466cae4be
commit 11b1af13fd

View File

@ -8,7 +8,7 @@
Summary: The GNU Portable Library Tool Summary: The GNU Portable Library Tool
Name: libtool Name: libtool
Version: 2.4.6 Version: 2.4.6
Release: 43%{?dist} Release: 44%{?dist}
License: GPLv2+ and LGPLv2+ and GFDL License: GPLv2+ and LGPLv2+ and GFDL
URL: http://www.gnu.org/software/libtool/ URL: http://www.gnu.org/software/libtool/
@ -122,7 +122,7 @@ autoreconf -v
export CC=gcc export CC=gcc
export CXX=g++ export CXX=g++
export F77=gfortran export F77=gfortran
export CFLAGS="$RPM_OPT_FLAGS -fPIC" export CFLAGS="$RPM_OPT_FLAGS -fPIC -fstack-protector-strong"
%configure --prefix=%{_prefix} \ %configure --prefix=%{_prefix} \
--exec-prefix=%{_prefix} \ --exec-prefix=%{_prefix} \
@ -187,6 +187,9 @@ rm -f %{buildroot}%{_libdir}/libltdl.{a,la}
%changelog %changelog
* Mon Aug 23 2021 Ondrej Dubaj <odubaj@redhat.com> - 2.4.6-44
- added -fstack-protector-strong to CFLAGS (#1988402)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.6-43 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.6-43
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688