# HG changeset patch
# User Piotr Sikora <piotrsik...@google.com>
# Date 1467064802 25200
#      Mon Jun 27 15:00:02 2016 -0700
# Node ID f5ece83dbcc4c46bcda51511e4fbf8fb90aa9432
# Parent  d452cb27639f714bc43b7f3ede417e3e7f8efdd6
Configure: fix build with -Werror=unused-value.

Signed-off-by: Piotr Sikora <piotrsik...@google.com>

diff -r d452cb27639f -r f5ece83dbcc4 auto/cc/conf
--- a/auto/cc/conf
+++ b/auto/cc/conf
@@ -231,7 +231,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
     ngx_feature_incs=
     ngx_feature_path=
     ngx_feature_libs=
-    ngx_feature_test="__builtin_bswap64(0)"
+    ngx_feature_test="if (__builtin_bswap64(0)) return 1"
     . auto/feature
 
 

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to