From 978fe7303927fbac81f729c8bdd827c92d56bc59 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 8 Mar 2014 00:57:54 +0000 Subject: [PATCH] zip: pass our CFLAGS Signed-off-by: Florian Fainelli SVN-Revision: 39831 --- utils/zip/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.30.2