[packages/cross-gcc: 2/3] disable error cflags

glen glen at pld-linux.org
Mon Jan 12 21:32:43 CET 2015


commit 629150bece04897e278a08a3a138918f28ebd2ef
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jan 12 22:32:02 2015 +0200

    disable error cflags

 cross-gcc.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
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.
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cross-gcc.git/commitdiff/826932825b7b63fbee1674dd216e0ca380a65794



More information about the pld-cvs-commit mailing list