From e78642b0f0b366f9fc54d89f0a6abb117b28efa1 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Thu, 3 Jun 2010 21:50:33 +0200 Subject: [PATCH] Log hostname and CWD before other logs --- ccache.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); -- 2.47.3