From: Joel Rosdahl Date: Wed, 5 Aug 2026 19:54:59 +0000 (+0200) Subject: docs: Clarify what relative path means for base_dir X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40f8bad59495ea9fb218a1184bed8e164df25246;p=thirdparty%2Fccache.git docs: Clarify what relative path means for base_dir Related to #1761. --- diff --git a/doc/manual.adoc b/doc/manual.adoc index 6480a4c48..57f13650b 100644 --- a/doc/manual.adoc +++ b/doc/manual.adoc @@ -500,8 +500,10 @@ Windows and `:` on other systems. *base_dir* (*CCACHE_BASEDIR*):: This option specifies a list of absolute paths. When set, ccache converts - absolute paths to relative paths before hashing, but only for paths that - start with one of the specified base directories. + absolute paths to relative paths before sending them to the compiler (or + including them in the input hash), but only for paths that start with one of + the specified base directories. "Relative" here means "relative to the + current working directory". + This enables cache sharing between compilations in different directories, even when the project uses absolute paths. See