From: Mikhail Kolomeytsev Date: Fri, 25 Mar 2016 17:38:44 +0000 (+0600) Subject: Fix clang plugin hashing. X-Git-Tag: v3.2.5~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39051e6a4f6cc39d48f06b30fc98be709d25a51;p=thirdparty%2Fccache.git 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 --- 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; }