[redhat-rpm-config] With gcc 4.9 aarch64 now supports stack-protector

Peter Robinson pbrobinson at fedoraproject.org
Tue Apr 29 22:37:25 UTC 2014


commit f60ba57637ff06582bf7e378bc69b1e421455489
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Apr 29 23:37:34 2014 +0100

    With gcc 4.9 aarch64 now supports stack-protector

 redhat-rpm-config.spec |    6 ++++--
 rpmrc                  |    2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec
index f1f764e..4c7ac12 100644
--- a/redhat-rpm-config.spec
+++ b/redhat-rpm-config.spec
@@ -6,7 +6,7 @@
 
 Summary: Red Hat specific rpm configuration files
 Name: redhat-rpm-config
-Version: 19
+Version: 20
 Release: 1%{?dist}
 # No version specified.
 License: GPL+
@@ -109,7 +109,6 @@ install -p -m 644 -t %{buildroot}%{_fileattrsdir} *.attr
 install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
 
 %files
-%defattr(-,root,root)
 %dir %{rrcdir}
 %{rrcdir}/macros
 %{rrcdir}/rpmrc
@@ -136,6 +135,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
 %{_rpmconfigdir}/macros.d/macros.kmp
 
 %changelog
+* Tue Apr 29 2014 Peter Robinson <pbrobinson at fedoraproject.org> 20-1
+- With gcc 4.9 aarch64 now supports stack-protector
+
 * Sun Apr 27 2014 Ville Skyttä <ville.skytta at iki.fi> - 19-1
 - Drop bunch of duplicated-with-rpm macro definitions and brp-* scripts
 
diff --git a/rpmrc b/rpmrc
index 62a363d..30d448a 100644
--- a/rpmrc
+++ b/rpmrc
@@ -65,7 +65,7 @@ optflags: hades %{__global_cflags}
 optflags: s390 %{__global_cflags} -m31 -march=z9-109 -mtune=z10
 optflags: s390x %{__global_cflags} -m64 -march=z9-109 -mtune=z10
 
-optflags: aarch64 %{__global_cflags} -fno-stack-protector
+optflags: aarch64 %{__global_cflags}
 
 # set build arch to fedora buildarches on hardware capable of running it
 # saves having to do rpmbuild --target=


More information about the scm-commits mailing list