zip: respect LDFLAGS
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
This commit is contained in:
parent
e16c53636d
commit
f326e41ade
1 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007-2014 OpenWrt.org
|
# Copyright (C) 2007-2016 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.
|
||||||
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=zip
|
PKG_NAME:=zip
|
||||||
PKG_REV:=30
|
PKG_REV:=30
|
||||||
PKG_VERSION:=3.0
|
PKG_VERSION:=3.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)$(PKG_REV).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)$(PKG_REV).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/infozip
|
PKG_SOURCE_URL:=@SF/infozip
|
||||||
|
@ -48,8 +48,7 @@ define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) -f unix/Makefile generic \
|
$(MAKE) -C $(PKG_BUILD_DIR) -f unix/Makefile generic \
|
||||||
prefix="$(PKG_INSTALL_DIR)/usr" \
|
prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CC="$(TARGET_CC) $(TARGET_CFLAGS) -O $(TARGET_CPPFLAGS) -I. -DUNIX" \
|
CC="$(TARGET_CC) $(TARGET_CFLAGS) -O $(TARGET_CPPFLAGS) -I. -DUNIX $(TARGET_LDFLAGS)" \
|
||||||
LD="$(TARGET_CC) $(TARGET_LDFLAGS)" \
|
|
||||||
IZ_BZIP2="no" \
|
IZ_BZIP2="no" \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue