Skip to contentSkip to conversation

multipath: revert fstack-protector-strong gcc option

PATCH Sebastian Herbszt 1 participant 1 message Jul 22, 2014 1 message not in the archive Device mapper

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Sebastian Herbszt

author Tested-by
#1 lore raw
Quoted 15 lines · Benjamin Marzinski

In my "enable gcc format-security check" (9b7741c) commit, I changed fstack-protector to fstack-protector-strong. This new option only exists in gcc 4.9, which is relatively new. This patch reverts to the fstack-protector option for now, until gcc 4.9 has been around for longer.

---
 Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile.inc +0 -0
index 1486721..20ae23e 100644

Makefile.inc GZIP = gzip -9 -c · line 52

Quoted 8 lines
Makefile.inc +1 -1
@@ -46,7 +46,7 @@ GZIP        = gzip -9 -c
 INSTALL_PROGRAM = install
 
 ifndef RPM_OPT_FLAGS
-	RPM_OPT_FLAGS = -O2 -g -pipe -Wformat-security -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
+	RPM_OPT_FLAGS = -O2 -g -pipe -Wformat-security -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
 endif
 
 OPTFLAGS     = $(RPM_OPT_FLAGS) -Wunused -Wstrict-prototypes