From ba4416157a63db5d85479d363741e975265cca61 Mon Sep 17 00:00:00 2001 From: Thomas Devoogdt Date: Thu, 1 Oct 2026 09:54:26 +0200 Subject: [PATCH] package/webkitgtk: also disable internal ccache in the build step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WK_USE_CCACHE=NO is only passed to the configure step (WEBKITGTK_CONF_ENV). During the build step, ninja can run cmake again (e.g. when a cmake input such as toolchainfile.cmake changed), and that run does not have WK_USE_CCACHE set. WebKit's WebKitCCache.cmake then sets ccache as compiler launcher again. That outer ccache runs without the CCACHE_BASEDIR that the toolchain wrapper sets for its own ccache call, so the cache keys and manifests contain absolute paths, and the entries only match in the same checkout directory. Pass WK_USE_CCACHE=NO to the build step too. Signed-off-by: Thomas Devoogdt Acked-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (cherry picked from commit 9f0aacb6346083db480478c59711507263455aed) Signed-off-by: Raphaël Mélotte --- package/webkitgtk/webkitgtk.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index ee9e707cb5..192a340d0a 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -22,6 +22,7 @@ WEBKITGTK_CMAKE_BACKEND = ninja # Buildroot adds support for ccache through its # toolchain-wrapper, so tell webkitgtk not to mess with it. WEBKITGTK_CONF_ENV = WK_USE_CCACHE=NO +WEBKITGTK_BUILD_ENV = WK_USE_CCACHE=NO WEBKITGTK_CONF_OPTS = \ -DENABLE_API_TESTS=OFF \