matching the compiler name in the normal *PATH* that isn't a symbolic link
to ccache itself.
-*pch_external_checksum* (*CCACHE_PCH_EXTSUM*)::
+*pch_external_checksum* (*CCACHE_PCH_EXTSUM* or *CCACHE_NOPCH_EXTSUM*, see <<_boolean_values,Boolean values>> above)::
When this option is set, and ccache finds a precompiled header file,
- ccache will look for a file with the extension ``.sum`` added
- (e.g. ``pre.h.gch.sum``), and if found, it will hash this file instead
- of the precompiled header itself. To work around the performance
- penalty of hashing of very large files.
+ ccache will look for a file with the extension ``.sum'' added
+ (e.g. ``pre.h.gch.sum''), and if found, it will hash this file instead
+ of the precompiled header itself to work around the performance
+ penalty of hashing very large files.
*prefix_command* (*CCACHE_PREFIX*)::
if (conf->pch_external_checksum) {
// hash pch.sum instead of pch when it exists
// to prevent hashing a very large .pch file every time
- char * pch_sum_path = format("%s.sum", path);
+ char *pch_sum_path = format("%s.sum", path);
if (x_stat(pch_sum_path, &st) == 0) {
- char * old_path = path;
+ char *old_path = path;
path = pch_sum_path;
pch_sum_path = old_path;
using_pch_sum = true;