[packages/grub2] disable stack-protector w/o filterout hack.

pluto pluto at pld-linux.org
Mon Oct 29 10:53:32 CET 2012


commit 5967241ed0bd5f3f0ce0975110bfefd3edd68580
Author: Paweł Sikora <pawel.sikora at agmk.net>
Date:   Mon Oct 29 10:52:20 2012 +0100

    disable stack-protector w/o filterout hack.

 grub2.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/grub2.spec b/grub2.spec
index f28e6a1..d157a05 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -109,7 +109,8 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # part of grub code is not relocable (these are not Linux libs)
 # stack protector also breaks non-Linux binaries
-%define 	filterout_c	-fPIC -fstack-protector
+%define 	filterout_c	-fPIC
+%undefine	_ssp_cflags
 
 %description
 GRUB is a GPLed bootloader intended to unify bootloading across x86
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grub2.git/commitdiff/42985b0d7950c68506e2d6cc7f485ef25dfa5e46



More information about the pld-cvs-commit mailing list