From: Joel Rosdahl Date: Wed, 8 Aug 2012 20:43:20 +0000 (+0200) Subject: Move log "running preprocessor" to a more appropriate place X-Git-Tag: v3.2~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=498d8492b009ade8d5d2f1a350a06356bb5e657c;p=thirdparty%2Fccache.git Move log "running preprocessor" to a more appropriate place --- diff --git a/ccache.c b/ccache.c index 612d5939a..ccb129997 100644 --- a/ccache.c +++ b/ccache.c @@ -820,6 +820,7 @@ get_object_name_from_cpp(struct args *args, struct mdfour *hash) /* run cpp on the input file to obtain the .i */ args_add(args, "-E"); args_add(args, input_file); + cc_log("Running preprocessor"); status = execute(args->argv, path_stdout, path_stderr); args_pop(args, 2); } else { @@ -2329,7 +2330,6 @@ ccache(int argc, char *argv[]) * included_files. */ cpp_hash = common_hash; - cc_log("Running preprocessor"); object_hash = calculate_object_hash(preprocessor_args, &cpp_hash, 0); if (!object_hash) { fatal("internal error: object hash from cpp returned NULL");