]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/czmq/0001-configure.ac-remove-Werror.patch
package/apr-util: add optional support for postgresql
[coffee/buildroot.git] / package / czmq / 0001-configure.ac-remove-Werror.patch
1 From 9a195dc573f4eed130773e6ef67efd5f71693e97 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Sat, 5 Nov 2016 15:33:57 +0100
4 Subject: [PATCH] configure.ac: remove -Werror
5
6 -Werror shouldn't be used in releases, as it can break the build with
7 newer versions of the compiler or the C library, when new warnings
8 are introduced.
9
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 ---
12  configure.ac | 2 +-
13  1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/configure.ac b/configure.ac
16 index e92970a..2fd551a 100755
17 --- a/configure.ac
18 +++ b/configure.ac
19 @@ -344,7 +344,7 @@ AC_C_BIGENDIAN
20  
21  # These options are GNU compiler specific.
22  if test "x$GCC" = "xyes"; then
23 -    CPPFLAGS="-pedantic -Werror -Wall -Wc++-compat ${CPPFLAGS}"
24 +    CPPFLAGS="-pedantic -Wall -Wc++-compat ${CPPFLAGS}"
25  fi
26  
27  AM_CONDITIONAL(ENABLE_SHARED, test "x$enable_shared" = "xyes")
28 -- 
29 2.7.4
30