[packages/gcc/GCC_4_6] - disable Werror_cflags

glen glen at pld-linux.org
Wed Apr 8 11:09:07 CEST 2015


commit d13494e07221e970f8b3282bc2a23fdeddb1b288
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Oct 8 08:50:35 2012 +0200

    - disable Werror_cflags
    
    cherry-picked c2f177e8

 gcc.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gcc.spec b/gcc.spec
index 940d767..4bed822 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -204,6 +204,10 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		filterout	-fwrapv -fno-strict-aliasing -fsigned-char
 %define		filterout_ld	-Wl,--as-needed
 
+# functions with printf format attribute but with special parser and also
+# receiving non constant format strings
+%define		Werror_cflags	%{nil}
+
 %define		skip_post_check_so	'.*(libmudflap|libmudflapth|libxmlj|lib-gnu-awt-xlib)\.so.*'
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/d13494e07221e970f8b3282bc2a23fdeddb1b288



More information about the pld-cvs-commit mailing list