[nginx] Configure: fix build with -Werror=unused-value.
Maxim Dounin
mdounin at mdounin.ru
Thu Jul 7 13:51:23 UTC 2016
details: http://hg.nginx.org/nginx/rev/0c3e464682e2
branches:
changeset: 6621:0c3e464682e2
user: Piotr Sikora <piotrsikora at google.com>
date: Mon Jun 27 15:00:02 2016 -0700
description:
Configure: fix build with -Werror=unused-value.
Signed-off-by: Piotr Sikora <piotrsikora at google.com>
diffstat:
auto/cc/conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/auto/cc/conf b/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