From: Joel Rosdahl Date: Thu, 3 Jun 2010 19:50:33 +0000 (+0200) Subject: Log hostname and CWD before other logs X-Git-Tag: v3.0~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e78642b0f0b366f9fc54d89f0a6abb117b28efa1;p=thirdparty%2Fccache.git Log hostname and CWD before other logs --- diff --git a/ccache.c b/ccache.c index 9b822d352..3ba22690a 100644 --- a/ccache.c +++ b/ccache.c @@ -1776,6 +1776,9 @@ static void ccache(int argc, char *argv[]) sloppiness = parse_sloppiness(getenv("CCACHE_SLOPPINESS")); + cc_log("Hostname: %s", get_hostname()); + cc_log("Working directory: %s", current_working_dir); + if (base_dir) { cc_log("Base directory: %s", base_dir); } @@ -1819,10 +1822,6 @@ static void ccache(int argc, char *argv[]) process_args(orig_args->argc, orig_args->argv, &preprocessor_args, &compiler_args); - cc_log("Hostname: %s", get_hostname()); - - cc_log("Cwd: %s", current_working_dir); - cc_log("Source file: %s", input_file); if (generating_dependencies) { cc_log("Dependency file: %s", output_dep);