tools/ccache: update to 4.9
authorNick Hainke <vincent@systemli.org>
Fri, 2 Feb 2024 12:34:24 +0000 (13:34 +0100)
committerNick Hainke <vincent@systemli.org>
Fri, 2 Feb 2024 16:32:50 +0000 (17:32 +0100)
Release Notes:
https://ccache.dev/releasenotes.html#_ccache_4_9

Manually refresh patch:
- 100-honour-copts.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
tools/ccache/Makefile
tools/ccache/patches/100-honour-copts.patch

index f76be9f90edd4ca1f706abceb0e72af8fe45091c..ace6bc3f42e0c77120c0e1e4c0007eefc1675fcd 100644 (file)
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ccache
-PKG_VERSION:=4.8.3
+PKG_VERSION:=4.9
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
-PKG_HASH:=e47374c810b248cfca3665ee1d86c7c763ffd68d9944bc422d9c1872611f2b11
+PKG_HASH:=1ebc72324e3ab52af0b562bf54189d108e85eef6478d6304a345a3c2dc4018e0
 
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/cmake.mk
index 91dc35536fb80c7cddc0c9b1774b977890ab2c3d..becfc9fe29a14cee32dcb517ae3f8a847261ed7c 100644 (file)
@@ -1,10 +1,10 @@
 --- a/src/ccache.cpp
 +++ b/src/ccache.cpp
-@@ -1815,6 +1815,7 @@ get_manifest_key(Context& ctx, Hash& has
-                            "CPLUS_INCLUDE_PATH",
-                            "OBJC_INCLUDE_PATH",
-                            "OBJCPLUS_INCLUDE_PATH", // clang
-+                           "GCC_HONOUR_COPTS",
-                            nullptr};
+@@ -1843,6 +1843,7 @@ get_manifest_key(Context& ctx, Hash& has
+     "OBJCPLUS_INCLUDE_PATH",        // Clang
+     "CLANG_CONFIG_FILE_SYSTEM_DIR", // Clang
+     "CLANG_CONFIG_FILE_USER_DIR",   // Clang
++    "GCC_HONOUR_COPTS",
+     nullptr,
+   };
    for (const char** p = envvars; *p; ++p) {
-     const char* v = getenv(*p);