mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Remove stream, added by default. Add NGX_HAVE_GCC_ATOMIC to make it compile on rpi3
This commit is contained in:
parent
347f5a7220
commit
070a99ff19
2 changed files with 1 additions and 10 deletions
|
@ -202,9 +202,4 @@ config NGINX_HTTP_SECURE_LINK
|
|||
prompt "Enable HTTP secure link module"
|
||||
default n
|
||||
|
||||
config NGINX_STREAM
|
||||
bool
|
||||
prompt "Enable stream module"
|
||||
default y
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -57,7 +57,6 @@ PKG_CONFIG_DEPENDS := \
|
|||
CONFIG_NGINX_HTTP_CACHE \
|
||||
CONFIG_NGINX_HTTP_V2 \
|
||||
CONFIG_NGINX_PCRE \
|
||||
CONFIG_NGINX_STREAM \
|
||||
CONFIG_NGINX_NAXSI \
|
||||
CONFIG_NGINX_LUA \
|
||||
CONFIG_NGINX_HTTP_REAL_IP \
|
||||
|
@ -209,11 +208,8 @@ endif
|
|||
ifeq ($(CONFIG_NGINX_HTTP_SECURE_LINK),y)
|
||||
ADDITIONAL_MODULES += --with-http_secure_link_module
|
||||
endif
|
||||
ifeq ($(CONFIG_NGINX_STREAM),y)
|
||||
ADDITIONAL_MODULES += --with-stream
|
||||
endif
|
||||
|
||||
TARGET_CFLAGS += -fvisibility=hidden -ffunction-sections -fdata-sections -DNGX_LUA_NO_BY_LUA_BLOCK
|
||||
TARGET_CFLAGS += -fvisibility=hidden -ffunction-sections -fdata-sections -DNGX_LUA_NO_BY_LUA_BLOCK -DNGX_HAVE_GCC_ATOMIC
|
||||
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||
|
||||
define Build/Configure
|
||||
|
|
Loading…
Reference in a new issue