From: Joel Rosdahl Date: Thu, 3 Jun 2010 21:09:08 +0000 (+0200) Subject: Remove CCACHE_VERBOSE feature again since executed commands now are logged X-Git-Tag: v3.0~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=236c1c7697589244ae34d55af4ccdb2509a1f9ef;p=thirdparty%2Fccache.git Remove CCACHE_VERBOSE feature again since executed commands now are logged --- diff --git a/NEWS.txt b/NEWS.txt index 036e79cee..45d293fca 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -108,9 +108,6 @@ New features and improvements - Improved display of cache max size values. - - For debugging purposes, the variable `CCACHE_VERBOSE` may now be set to - make ccache print executed commands to standard output. - - The following options are no longer hashed in the preprocessor mode: `-imacros`, `-imultilib`, `-iprefix`, `-iquote`, `-isysroot`, `-iwithprefix`, `-iwithprefixbefore`, `-nostdinc`, `-nostdinc++` and diff --git a/ccache.c b/ccache.c index 9c773c7d2..232d02a64 100644 --- a/ccache.c +++ b/ccache.c @@ -274,9 +274,6 @@ static void failed(void) cc_log("Failed; falling back to running the real compiler"); cc_log_executed_command(orig_args->argv); - if (getenv("CCACHE_VERBOSE")) { - print_executed_command(stdout, orig_args->argv); - } execv(orig_args->argv[0], orig_args->argv); cc_log("execv returned (%s)!", strerror(errno)); perror(orig_args->argv[0]); diff --git a/execute.c b/execute.c index 73a29eb38..90b540e7d 100644 --- a/execute.c +++ b/execute.c @@ -40,9 +40,6 @@ int execute(char **argv, int status; cc_log_executed_command(argv); - if (getenv("CCACHE_VERBOSE")) { - print_executed_command(stdout, argv); - } pid = fork(); if (pid == -1) fatal("Failed to fork"); diff --git a/manual.txt b/manual.txt index ad419b227..e3cc0808f 100644 --- a/manual.txt +++ b/manual.txt @@ -339,12 +339,6 @@ cases you won't need any of these as the defaults will be fine. default is that it can give incorrect line number information in compiler warning messages. Enabling the unifier implies turning off the direct mode. -*CCACHE_VERBOSE*:: - - If you set the environment variable *CCACHE_VERBOSE*, ccache prints (to the - standard output) the executed command lines when running the preprocessor - and the compiler. - CACHE SIZE MANAGEMENT ---------------------