From d8a2b25cb839c7e239d00118b01fbd313635731f Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 27 Jun 2016 15:00:02 -0700 Subject: [PATCH] Configure: fix build with -Werror=unused-value. Signed-off-by: Piotr Sikora --- auto/cc/conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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