]> git.ipfire.org Git - thirdparty/ccache.git/commit
Avoid preprocessed hits when using precompiled headers
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 5 Sep 2010 09:08:09 +0000 (11:08 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 5 Sep 2010 09:45:10 +0000 (11:45 +0200)
commit16c2076733beb22a4e1c28a0f24f909aa2a62e55
treeb45963acca56bd1aecc4158d545126703dbea403
parentf38abae7e6d1ef0cd268fdbe52180c32b1b549e0
Avoid preprocessed hits when using precompiled headers

Otherwise, we would get a false hit if the PCH has changed (but the rest of
the source has not) since the preprocessed output doesn't include the PCH
content.

The PCH content is now also included in the preprocessor output hash to
avoid several manifest entries (where the PCH hash differs) pointing to the
same object file.
ccache.c
test.sh