From: Joel Rosdahl Date: Tue, 29 Sep 2020 18:11:14 +0000 (+0200) Subject: Fix typo in manual section “Compiling in different directories” X-Git-Tag: v4.0~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff28c47779ad717e86830ab1504e8c04253c4d8d;p=thirdparty%2Fccache.git Fix typo in manual section “Compiling in different directories” --- diff --git a/doc/MANUAL.adoc b/doc/MANUAL.adoc index 868b5b517..ed44c3d65 100644 --- a/doc/MANUAL.adoc +++ b/doc/MANUAL.adoc @@ -578,8 +578,7 @@ WARNING: Do not enable this option unless you are aware of these caveats: when generating debug info (compiler option *-g* with variations). Exception: The CWD will not be included in the hash if <> is set (and matches the CWD) and the - compiler option *-fdebug-prefix-map* is used. - See also the discussion under + compiler option *-fdebug-prefix-map* is used. See also the discussion under <<_compiling_in_different_directories,COMPILING IN DIFFERENT DIRECTORIES>>. + The reason for including the CWD in the hash by default is to prevent a problem @@ -1248,7 +1247,7 @@ directories: -- * If you use absolute paths anywhere on the command line (e.g. the source code file path or an argument to compiler options like *-I* and *-MF*), you must - to set <> to an absolute path to a ``base + set <> to an absolute path to a ``base directory''. ccache will then rewrite absolute paths under that directory to relative before computing the hash.