atftp: pass our CFLAGS to succeed in the configure script

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39836 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2014-03-08 00:58:07 +00:00
parent 380f486594
commit 944b83e8ba

View File

@ -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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=atftp PKG_NAME:=atftp
PKG_VERSION:=0.7 PKG_VERSION:=0.7
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/ PKG_SOURCE_URL:=http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/
@ -40,6 +40,8 @@ endef
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--disable-libwrap --disable-libwrap
CONFIGURE_VARS += \
LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_CFLAGS)"
ifdef CONFIG_USE_EGLIBC ifdef CONFIG_USE_EGLIBC
TARGET_CFLAGS += -DHAVE_ARGZ=1 TARGET_CFLAGS += -DHAVE_ARGZ=1