From c39051e6a4f6cc39d48f06b30fc98be709d25a51 Mon Sep 17 00:00:00 2001 From: Mikhail Kolomeytsev Date: Fri, 25 Mar 2016 23:38:44 +0600 Subject: [PATCH] Fix clang plugin hashing. This matters when compiling in different directories and clang plugin is located in them. make_relative_path is redundant in that case. https://lists.samba.org/archive/ccache/2016q1/001425.html --- ccache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ccache.c b/ccache.c index 5ec529946..d086aeff1 100644 --- a/ccache.c +++ b/ccache.c @@ -1592,6 +1592,7 @@ calculate_object_hash(struct args *args, struct mdfour *hash, int direct_mode) && x_stat(args->argv[i+3], &st) == 0) { hash_delimiter(hash, "plugin"); hash_compiler(hash, &st, args->argv[i+3], false); + i += 3; continue; } -- 2.47.2