From: Elan Ruusamäe Date: Mon, 12 Jan 2015 20:32:02 +0000 (+0200) Subject: disable error cflags X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcross-gcc.git;a=commitdiff_plain;h=629150bece04897e278a08a3a138918f28ebd2ef disable error cflags --- diff --git a/cross-gcc.spec b/cross-gcc.spec index e274bf6..f9c8ee7 100644 --- a/cross-gcc.spec +++ b/cross-gcc.spec @@ -142,6 +142,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define builddir %{_builddir}/%{name}-%{version} +# functions with printf format attribute but with special parser and also +# receiving non constant format strings +%define Werror_cflags %{nil} + %description Cross-build GNU C compiler collection.