varnish/varnish-4.0.0_fix_Werror_el6.patch

12 lines
571 B
Diff
Raw Normal View History

2014-04-22 15:09:39 +00:00
--- configure.orig 2014-03-11 23:25:41.618988565 +0100
+++ configure 2014-03-11 23:26:03.480225451 +0100
@@ -16746,7 +16746,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_CACHEVAR=`$as_echo "ax_cv_check_cflags__-Werror=unused-result" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unused-result" >&5