zip: pass our CFLAGS
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39831 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3f6e14b1f8
commit
79e36a99e1
@ -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.
|
# 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:=zip
|
PKG_NAME:=zip
|
||||||
PKG_VERSION:=2.32
|
PKG_VERSION:=2.32
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)232.zip
|
PKG_SOURCE:=$(PKG_NAME)232.zip
|
||||||
PKG_SOURCE_URL:=@SF/infozip
|
PKG_SOURCE_URL:=@SF/infozip
|
||||||
@ -40,10 +40,9 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) -f unix/Makefile generic \
|
$(MAKE) -C $(PKG_BUILD_DIR) -f unix/Makefile generic \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
|
||||||
prefix="$(PKG_INSTALL_DIR)/usr" \
|
prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
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)" \
|
LD="$(TARGET_CC) $(TARGET_LDFLAGS)" \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user