summaryrefslogtreecommitdiffhomepage
path: root/auto/cc
diff options
context:
space:
mode:
authorPiotr Sikora <piotrsikora@google.com>2016-06-27 15:00:02 -0700
committerPiotr Sikora <piotrsikora@google.com>2016-06-27 15:00:02 -0700
commitd8a2b25cb839c7e239d00118b01fbd313635731f (patch)
treec582234d62f8ca0ae1b46cea31530bee80424dce /auto/cc
parent356ab319d340c2d5f670f95e286523ff67d3fd57 (diff)
downloadnginx-d8a2b25cb839c7e239d00118b01fbd313635731f.tar.gz
nginx-d8a2b25cb839c7e239d00118b01fbd313635731f.tar.bz2
Configure: fix build with -Werror=unused-value.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Diffstat (limited to 'auto/cc')
-rw-r--r--auto/cc/conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/cc/conf b/auto/cc/conf
index f2c25ede0..b3b9f92eb 100644
--- 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