diff options
author | Thomas Heil <heil@terminal-consulting.de> | 2014-06-21 13:45:32 +0200 |
---|---|---|
committer | Thomas Heil <heil@terminal-consulting.de> | 2014-06-21 13:45:32 +0200 |
commit | c7931f98b29ce75d800c11895cdd218e7f2dea5a (patch) | |
tree | f5a8dca39c99e46db093d13159d6256cc06a76c1 /net | |
parent | 6308984c4823bf59e0931938c174478d368b446c (diff) |
haproxy: fix targe avr32
The avr32 target uses a old accept4 implementation, so i disabled it for
this patform.
Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
Diffstat (limited to 'net')
-rw-r--r-- | net/haproxy/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index ca5c4a9ac..27346fcad 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=haproxy PKG_VERSION:=1.5.0 -PKG_RELEASE:=01 +PKG_RELEASE:=02 PKG_SOURCE:=haproxy-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://haproxy.1wt.eu/download/1.5/src/ PKG_MD5SUM:=e33bb97e644e98af948090f1ecebbda9 @@ -36,8 +36,14 @@ define Package/haproxy/description Open source High Performance TCP/HTTP Load Balancer endef +ifeq ($(CONFIG_avr32),y) + LINUX_TARGET:=linux26 +else + LINUX_TARGET:=linux2628 +endif + define Build/Compile - $(MAKE) TARGET=linux2628 -C $(PKG_BUILD_DIR) \ + $(MAKE) TARGET=$(LINUX_TARGET) -C $(PKG_BUILD_DIR) \ DESTDIR="$(PKG_INSTALL_DIR)" \ CC="$(TARGET_CC)" \ CFLAGS="$(TARGET_CFLAGS) -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -fhonour-copts" \ |