From 2e5852e1c788082e6e1b1a8c968f9499725108e0 Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Sun, 2 Oct 2022 11:22:23 +0200 Subject: [PATCH] tools/expat: switch to tar.xz to save bandwidth The tar.xz download is a bit smaller. Use this download to save traffic. Suggested-by: hardfalcon Signed-off-by: Nick Hainke --- tools/expat/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/expat/Makefile b/tools/expat/Makefile index 7e544c6e2..96f87f528 100644 --- a/tools/expat/Makefile +++ b/tools/expat/Makefile @@ -11,19 +11,23 @@ PKG_NAME:=expat PKG_CPE_ID:=cpe:/a:libexpat:expat PKG_VERSION:=2.4.9 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_HASH:=7f44d1469b110773a94b0d5abeeeffaef79f8bd6406b07e52394bcf48126437a +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_HASH:=6e8c0728fe5c7cd3f93a6acce43046c5e4736c7b4b68e032e9350daa0efc0354 PKG_SOURCE_URL:=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$(PKG_VERSION)) HOST_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk +HOSTCC := $(HOSTCC_NOCACHE) + HOST_CONFIGURE_ARGS += \ - --without-docbook + --disable-shared \ + --without-docbook \ + --with-pic define Host/Install $(MAKE) -C $(HOST_BUILD_DIR) install endef -$(eval $(call HostBuild)) \ No newline at end of file +$(eval $(call HostBuild))