From b526da89ce6afbe455227759b01568524f7418fd Mon Sep 17 00:00:00 2001 From: Florian Fainelli 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 SVN-Revision: 39836 --- 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 -- 2.30.2