[PATCH] Configure: fix build with -Werror=unused-value
Piotr Sikora
piotrsikora at google.com
Mon Jun 27 22:59:18 UTC 2016
# HG changeset patch
# User Piotr Sikora <piotrsikora at 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 <piotrsikora at 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
More information about the nginx-devel
mailing list