[redhat-rpm-config: 203/215] - switch from -fstack-protector to -fstack-protector-strong (#978763)

Panu Matilainen pmatilai at fedoraproject.org
Wed Apr 2 10:35:30 UTC 2014


commit d4c5b383715ebf648362e8b3e1dfd264588d8b54
Author: Panu Matilainen <pmatilai at redhat.com>
Date:   Thu Jul 4 10:25:50 2013 +0300

    - switch from -fstack-protector to -fstack-protector-strong (#978763)

 macros |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/macros b/macros
index 8b51e49..50509fb 100644
--- a/macros
+++ b/macros
@@ -178,7 +178,7 @@ package or when debugging this package.\
 %_hardened_cflags	%{?_hardened_build:%{_hardening_cflags}}
 %_hardened_ldflags	%{?_hardened_build:%{_hardening_ldflags}}
 
-%__global_cflags	-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches %{_hardened_cflags}
+%__global_cflags	-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches %{_hardened_cflags}
 %__global_ldflags	-Wl,-z,relro %{_hardened_ldflags}
 
 # Use these macros to differentiate between RH and other KMP implementation(s).


More information about the scm-commits mailing list