]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove CCACHE_VERBOSE feature again since executed commands now are logged
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 3 Jun 2010 21:09:08 +0000 (23:09 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 3 Jun 2010 21:09:08 +0000 (23:09 +0200)
NEWS.txt
ccache.c
execute.c
manual.txt

index 036e79cee9cf9ffe73ea24333d582a641b8c4028..45d293fca3d717004bf9e2e22e0e1e049efb2a23 100644 (file)
--- 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
index 9c773c7d2e86fda8d053747a40a221bb8f5e82ae..232d02a64c9ccdc137ff41a9a3f366d71916785d 100644 (file)
--- 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]);
index 73a29eb38db79cba7ca125f69d889920f911cde0..90b540e7d69384d46bc11c1e060253560865252e 100644 (file)
--- 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");
index ad419b2270ba2bf46d1d51027cb6ff3c65da4757..e3cc0808fe3f1fa12b78d69cc8335746c40bdce5 100644 (file)
@@ -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
 ---------------------