aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>2019-04-29 13:26:36 +0800
committerHans Dedecker <dedeckeh@gmail.com>2019-04-29 08:54:53 +0200
commited5409dbe93b5e4a858c7c87ca1652bc9a6484e5 (patch)
tree5873f376a89c78492bbebd867e6260995d030722
parent9af2735734fce61eaf9bdb49fff218e6548af6f2 (diff)
downloadupstream-ed5409dbe93b5e4a858c7c87ca1652bc9a6484e5.tar.gz
upstream-ed5409dbe93b5e4a858c7c87ca1652bc9a6484e5.tar.bz2
upstream-ed5409dbe93b5e4a858c7c87ca1652bc9a6484e5.zip
tools/ccache: update to 3.7
Update ccache to 3.7 Release notes: https://ccache.dev/releasenotes.html#_ccache_3_7 Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
-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