mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
unzip: fix cross-compilation and skip target checks
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Signed-off-by: Steven Barth <steven@midlink.org>
This commit is contained in:
@@ -43,12 +43,15 @@ endef
|
|||||||
define Build/Configure
|
define Build/Configure
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_CFLAGS += -DNO_LCHMOD -DLARGE_FILE_SUPPORT
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) -f unix/Makefile generic \
|
$(MAKE) -C $(PKG_BUILD_DIR) -f unix/Makefile unzips \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(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" \
|
CF="$(TARGET_CFLAGS) -O $(TARGET_CPPFLAGS) -I. -DUNIX" \
|
||||||
|
CC="$(TARGET_CC)" \
|
||||||
LD="$(TARGET_CC) $(TARGET_LDFLAGS)" \
|
LD="$(TARGET_CC) $(TARGET_LDFLAGS)" \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user