varnish/varnish-4.0.1_fix_Werror_el6.patch

12 lines
574 B
Diff
Raw Normal View History

2014-07-30 13:09:47 +00:00
--- configure.orig 2014-07-30 14:35:18.781987406 +0200
+++ configure 2014-07-30 14:36:12.686122224 +0200
@@ -16978,7 +16978,7 @@
# The reason for -Wno-error=unused-result is a glibc/gcc interaction
# idiocy where write is marked as warn_unused_result, causing build
# failures.
-CFLAGS="${CFLAGS} -Wall -Werror"
+#CFLAGS="${CFLAGS} -Wall -Werror"
OCFLAGS="${OCFLAGS} -Wall -Werror"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unused-result" >&5
$as_echo_n "checking whether C compiler accepts -Werror=unused-result... " >&6; }