[packages/glibc] - filterout _FORTIFY_SOURCE also from cflags

qboosh qboosh at pld-linux.org
Mon Nov 5 19:07:16 CET 2012


commit 1acfc17845e6ddfb3880c1de0d92f22c9c55560e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 5 19:07:12 2012 +0100

    - filterout _FORTIFY_SOURCE also from cflags

 glibc.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/glibc.spec b/glibc.spec
index cf3c2bb..9167c97 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -140,6 +140,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		filterout_ld		(-Wl,)?-[sS] (-Wl,)?--strip.*
 # avoid -D_FORTIFY_SOURCE=X
 %define		filterout_cpp		-D_FORTIFY_SOURCE=[0-9]+
+%define		filterout_c		(-Wp,)?-D_FORTIFY_SOURCE=[0-9]+
 
 %define		specflags_sparcv9	-mcpu=ultrasparc -mvis -fcall-used-g6
 %define		specflags_sparc64	-mcpu=ultrasparc -mvis -fcall-used-g6
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/1acfc17845e6ddfb3880c1de0d92f22c9c55560e



More information about the pld-cvs-commit mailing list