mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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 <gladiac@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user