]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- disable Werror_cflags
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 8 Oct 2012 06:50:35 +0000 (08:50 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 8 Apr 2015 09:08:52 +0000 (12:08 +0300)
cherry-picked c2f177e8

gcc.spec

index 940d7670958d5a39a7ebe5c1b4a2df92bc395a7e..4bed822aa7c14e7cfcc6e443de59932ecf892b2d 100644 (file)
--- 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
This page took 0.276583 seconds and 4 git commands to generate.