summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2010-10-05 11:14:52 -0400
committerNalin Dahyabhai <nalin@redhat.com>2010-10-05 11:14:52 -0400
commit739b67be1aeaa23877606d8db78ffdabc2e48532 (patch)
tree5bea6b29987e435cb7893175fddfedf63a0d3da2
parentb589b023c409a3aa40b89a24def820b9808536cb (diff)
downloadkrb5-739b67be1aeaa23877606d8db78ffdabc2e48532.tar.gz
krb5-739b67be1aeaa23877606d8db78ffdabc2e48532.tar.xz
krb5-739b67be1aeaa23877606d8db78ffdabc2e48532.zip
- build with -fstack-protector-all instead of the default -fstack-protector,
so that we add checking to more functions (i.e., all of them) (#629950)
-rw-r--r--krb5.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/krb5.spec b/krb5.spec
index 5a38146..f9c8e8d 100644
--- a/krb5.spec
+++ b/krb5.spec
@@ -5,7 +5,7 @@
Summary: The Kerberos network authentication system
Name: krb5
Version: 1.8.2
-Release: 4%{?dist}.1
+Release: 5%{?dist}
# Maybe we should explode from the now-available-to-everybody tarball instead?
# http://web.mit.edu/kerberos/dist/krb5/1.8/krb5-1.8.2-signed.tar
Source0: krb5-%{version}.tar.gz
@@ -251,7 +251,7 @@ popd
pushd src
# Work out the CFLAGS and CPPFLAGS which we intend to use.
INCLUDES=-I%{_includedir}/et
-CFLAGS="`echo $RPM_OPT_FLAGS $DEFINES $INCLUDES -fPIC -fno-strict-aliasing`"
+CFLAGS="`echo $RPM_OPT_FLAGS $DEFINES $INCLUDES -fPIC -fno-strict-aliasing -fstack-protector-all`"
CPPFLAGS="`echo $DEFINES $INCLUDES`"
%configure \
CC="%{__cc}" \
@@ -643,6 +643,10 @@ exit 0
%{_sbindir}/uuserver
%changelog
+* Tue Oct 5 2010 Nalin Dahyabhai <nalin@redhat.com> 1.8.2-5
+- build with -fstack-protector-all instead of the default -fstack-protector,
+ so that we add checking to more functions (i.e., all of them) (#629950)
+
* Wed Sep 29 2010 jkeating - 1.8.2-4.1
- Rebuilt for gcc bug 634757