]> git.kaiwu.me - nginx.git/commitdiff
Configure: fix build with -Werror=unused-value.
authorPiotr Sikora <piotrsikora@google.com>
Mon, 27 Jun 2016 22:00:02 +0000 (15:00 -0700)
committerPiotr Sikora <piotrsikora@google.com>
Mon, 27 Jun 2016 22:00:02 +0000 (15:00 -0700)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
auto/cc/conf

index f2c25ede03308e5cb024e42e64bfc326bedf5a26..b3b9f92eb0055fd6ce396b2833be540ab291cc08 100644 (file)
@@ -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