]>
Commit | Line | Data |
---|---|---|
1 | --- ccache-3.1/ccache.c~ 2010-09-16 19:01:09.000000000 +0200 | |
2 | +++ ccache-3.1/ccache.c 2010-10-02 18:16:57.670019849 +0200 | |
3 | @@ -814,8 +814,10 @@ | |
4 | /* Do nothing. */ | |
5 | } else if (str_eq(compilercheck, "mtime")) { | |
6 | hash_delimiter(hash, "cc_mtime"); | |
7 | - hash_int(hash, st->st_size); | |
8 | - hash_int(hash, st->st_mtime); | |
9 | + if (!getenv("CCACHE_NOHASH_SIZE_MTIME")) { | |
10 | + hash_int(hash, st->st_size); | |
11 | + hash_int(hash, st->st_mtime); | |
12 | + } | |
13 | } else if (str_eq(compilercheck, "content") || !allow_command) { | |
14 | hash_delimiter(hash, "cc_content"); | |
15 | hash_file(hash, path); |