nginx: fix detection of gcc builtin atomic operations
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
Wed, 5 Dec 2018 15:18:20 +0000 (23:18 +0800)
committerDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
Wed, 5 Dec 2018 16:37:46 +0000 (00:37 +0800)
Needed by stream module

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
net/nginx/Makefile
net/nginx/patches/101-feature_test_fix.patch

index 671caa67db71e89ea0af01c3390e4c657590fc15..bb016d031dc2c6d9e8df774deeece616c22e185e 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nginx
 PKG_VERSION:=1.15.6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://nginx.org/download/
index 930e7da98c4972a5f46f52440ebaa1e6840d0d79..b867c88dd2bd0b8907d9b97f54445f4557312734 100644 (file)
      ngx_feature_libs=
 --- a/auto/cc/conf
 +++ b/auto/cc/conf
+@@ -183,7 +183,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
+     else
+         ngx_feature="gcc builtin atomic operations"
+         ngx_feature_name=NGX_HAVE_GCC_ATOMIC
+-        ngx_feature_run=yes
++        ngx_feature_run=no
+         ngx_feature_incs=
+         ngx_feature_path=
+         ngx_feature_libs=
 @@ -204,7 +204,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
      else
          ngx_feature="C99 variadic macros"