From: florian Date: Sat, 8 Mar 2014 00:57:54 +0000 (+0000) Subject: zip: pass our CFLAGS X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=79e36a99e19eec8ab71c248826a68a5d98ca4660;p=packages.git zip: pass our CFLAGS Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@39831 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/zip/Makefile b/utils/zip/Makefile index d0b5df704..df311ce32 100644 --- a/utils/zip/Makefile +++ b/utils/zip/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2009 OpenWrt.org +# Copyright (C) 2007-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:=zip PKG_VERSION:=2.32 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)232.zip PKG_SOURCE_URL:=@SF/infozip @@ -40,10 +40,9 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) -f unix/Makefile generic \ - $(TARGET_CONFIGURE_OPTS) \ prefix="$(PKG_INSTALL_DIR)/usr" \ CFLAGS="$(TARGET_CFLAGS)" \ - CF="$(TARGET_CFLAGS) -O $(TARGET_CPPFLAGS) -I. -DUNIX" \ + CC="$(TARGET_CC) $(TARGET_CFLAGS) -O $(TARGET_CPPFLAGS) -I. -DUNIX" \ LD="$(TARGET_CC) $(TARGET_LDFLAGS)" \ install endef