[packages/gcc] - disable Werror_cflags - rel 2
baggins
baggins at pld-linux.org
Mon Oct 8 08:50:50 CEST 2012
commit c2f177e801a422f2c4b090f818a7c3b3da683138
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Oct 8 08:50:35 2012 +0200
- disable Werror_cflags
- rel 2
gcc.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gcc.spec b/gcc.spec
index 38f3f82..46ff96c 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -98,7 +98,7 @@ Summary(pl.UTF-8): Kolekcja kompilatorów GNU: kompilator C i pliki współdziel
Summary(pt_BR.UTF-8): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
Name: gcc
Version: %{major_ver}.%{minor_ver}
-Release: 1
+Release: 2
Epoch: 6
License: GPL v3+
Group: Development/Languages
@@ -232,6 +232,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 '.*(libgo|libmudflap|libmudflapth|libxmlj|lib-gnu-awt-xlib)\.so.*'
%description
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/c2f177e801a422f2c4b090f818a7c3b3da683138
More information about the pld-cvs-commit
mailing list