]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
don't hash the path to the compiler itself
authorAndrew Tridgell <tridge@samba.org>
Tue, 2 Apr 2002 03:29:05 +0000 (05:29 +0200)
committerAndrew Tridgell <tridge@samba.org>
Tue, 2 Apr 2002 03:29:05 +0000 (05:29 +0200)
ccache.c

index abb9ec3691f4e32544ff967ea3bb3b4d94bad81e..0aa28307eaaf5743948633786431a2a21a00acd1 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -122,7 +122,7 @@ static void find_hash(ARGS *args)
        hash_start();
 
        /* first the arguments */
-       for (i=0;i<args->argc;i++) {
+       for (i=1;i<args->argc;i++) {
                /* some arguments don't contribute to the hash. The
                   theory is that these arguments will change the
                   output of -E if they are going to have any effect