From: Chris AtLee Date: Fri, 29 Jul 2011 20:46:45 +0000 (-0400) Subject: comment X-Git-Tag: v3.2~178^2~4^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42f9f75b5f51dc2937de73be1155df0b175408f4;p=thirdparty%2Fccache.git comment --- diff --git a/ccache.c b/ccache.c index 21657ad2d..2cd7323ed 100644 --- a/ccache.c +++ b/ccache.c @@ -1052,6 +1052,8 @@ calculate_object_hash(struct args *args, struct mdfour *hash, int direct_mode) char *base_name; output_to_real_object_first = true; base_name = remove_extension(output_obj); + /* profile_dir is cwd by default unless overridden by + * -fprofile-use=, or -fprofile-dir */ gcda_name = format("%s/%s.gcda", profile_dir, base_name); cc_log("Adding profile data %s to our hash", gcda_name); /* Add the gcda to our hash */