summaryrefslogtreecommitdiff
path: root/ccache.c
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2017-12-30 20:49:25 +0100
committerJoel Rosdahl <joel@rosdahl.net>2018-01-10 20:58:30 +0100
commit04c6075580d2c42f5a6b83687c25a40d66cb5963 (patch)
tree1be9459b2a1680fb4527169e10a87dc5b15a3139 /ccache.c
parent689b39baab610d4cd0c7108a7905e760e4f046f9 (diff)
downloadccache-04c6075580d2c42f5a6b83687c25a40d66cb5963.tar.gz
Don't overwrite cached .d file with a version with absolute paths
The .d file has already been put in the cache by to_cache (and potentially converted to relative paths using use_relative_paths_in_depfile). This fixes what seems to be a mistake in 38301c0d.
Diffstat (limited to 'ccache.c')
-rw-r--r--ccache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ccache.c b/ccache.c
index fd1b4ce1..7d05af4d 100644
--- a/ccache.c
+++ b/ccache.c
@@ -1964,11 +1964,6 @@ from_cache(enum fromcache_call_mode mode, bool put_object_in_manifest)
update_mtime(cached_dwo);
}
- if (generating_dependencies && mode == FROMCACHE_CPP_MODE
- && !conf->read_only && !conf->read_only_direct) {
- put_file_in_cache(output_dep, cached_dep);
- }
-
send_cached_stderr();
if (put_object_in_manifest) {