diff --git a/nginx/Makefile b/nginx/Makefile index 28c3457a6..763e41222 100644 --- a/nginx/Makefile +++ b/nginx/Makefile @@ -324,7 +324,7 @@ endef Package/nginx-mod-luci-ssl/description = $(define Package/nginx-mod-luci/description) \ This also include redirect from http to https and cert autogeneration. -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 ifeq ($(CONFIG_NGINX_LUA),y)