From: Florian Fainelli Date: Sat, 8 Mar 2014 00:58:07 +0000 (+0000) Subject: atftp: pass our CFLAGS to succeed in the configure script X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=79d0e3921b0c4148c0f798463a0c027b6e5af6ea;p=openwrt%2Fsvn-archive%2Farchive.git atftp: pass our CFLAGS to succeed in the configure script Signed-off-by: Florian Fainelli SVN-Revision: 39836 --- diff --git a/net/atftp/Makefile b/net/atftp/Makefile index e15f410d69..c33a99d032 100644 --- a/net/atftp/Makefile +++ b/net/atftp/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=atftp PKG_VERSION:=0.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/ @@ -40,6 +40,8 @@ endef CONFIGURE_ARGS += \ --disable-libwrap +CONFIGURE_VARS += \ + LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_CFLAGS)" ifdef CONFIG_USE_EGLIBC TARGET_CFLAGS += -DHAVE_ARGZ=1