From 385eeba4c0e5143f9cbc2a4e6d9715ed060c9075 Mon Sep 17 00:00:00 2001 From: Christian Lachner Date: Wed, 7 Mar 2018 22:38:52 +0100 Subject: [PATCH] haproxy: Fix Lua-support for mips(el) - TARGET_CFLAGS were missing for haproxy which caused issue #4606 (https://github.com/openwrt/packages/issues/4606) - All targets finally have Lua support again Signed-off-by: Christian Lachner --- net/haproxy/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index e5d124b97..da0b3c474 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -94,13 +94,6 @@ endef ENABLE_LUA:=y ENABLE_REGPARM:=n -ifeq ($(CONFIG_mips),y) - ENABLE_LUA:=n -endif -ifeq ($(CONFIG_mipsel),y) - ENABLE_LUA:=n -endif - ifeq ($(CONFIG_TARGET_x86),y) ENABLE_REGPARM:=y endif @@ -152,6 +145,7 @@ define Build/Compile USE_ZLIB=yes USE_PCRE=1 USE_PCRE_JIT=1 USE_GETADDRINFO=1 \ VERSION="$(PKG_VERSION)-patch$(PKG_RELEASE)" \ $(ADDON) \ + CFLAGS="$(TARGET_CFLAGS)" \ LD="$(TARGET_CC)" \ LDFLAGS="$(TARGET_LDFLAGS) -latomic" \ IGNOREGIT=1