From 944b83e8ba82963cdfd00461c17531f4a00532de Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 8 Mar 2014 00:58:07 +0000 Subject: [PATCH] atftp: pass our CFLAGS to succeed in the configure script Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@39836 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/atftp/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/atftp/Makefile b/net/atftp/Makefile index e15f410d6..c33a99d03 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