aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/ccache/Makefile7
-rw-r--r--tools/ccache/patches/100-honour-copts.patch2
2 files changed, 4 insertions, 5 deletions
diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
index 25a35509a7..9f3cf84b25 100644
--- a/tools/ccache/Makefile
+++ b/tools/ccache/Makefile
@@ -8,12 +8,11 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/target.mk
PKG_NAME:=ccache
-PKG_VERSION:=3.6
+PKG_VERSION:=3.7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=https://download.samba.org/pub/ccache/ \
- https://samba.org/ftp/ccache/
-PKG_HASH:=a6b129576328fcefad00cb72035bc87bc98b6a76aec0f4b59bed76d67a399b1f
+PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
+PKG_HASH:=409f38bec6161288749a499c82060c99a551c3aced406827e28d183e9c070575
include $(INCLUDE_DIR)/host-build.mk
diff --git a/tools/ccache/patches/100-honour-copts.patch b/tools/ccache/patches/100-honour-copts.patch
index 9d020e9fda..3987b6090c 100644
--- a/tools/ccache/patches/100-honour-copts.patch
+++ b/tools/ccache/patches/100-honour-copts.patch
@@ -1,6 +1,6 @@
--- a/src/ccache.c
+++ b/src/ccache.c
-@@ -2094,6 +2094,7 @@ calculate_object_hash(struct args *args,
+@@ -2158,6 +2158,7 @@ calculate_object_hash(struct args *args,
"CPLUS_INCLUDE_PATH",
"OBJC_INCLUDE_PATH",
"OBJCPLUS_INCLUDE_PATH", // clang