]>
Commit | Line | Data |
---|---|---|
79e0ddf2 AG |
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 @@ | |
dbada6cb | 4 | /* Do nothing. */ |
79e0ddf2 AG |
5 | } else if (str_eq(compilercheck, "mtime")) { |
6 | hash_delimiter(hash, "cc_mtime"); | |
dbada6cb AG |
7 | - hash_int(hash, st->st_size); |
8 | - hash_int(hash, st->st_mtime); | |
79e0ddf2 | 9 | + if (!getenv("CCACHE_NOHASH_SIZE_MTIME")) { |
dbada6cb AG |
10 | + hash_int(hash, st->st_size); |
11 | + hash_int(hash, st->st_mtime); | |
79e0ddf2 | 12 | + } |
dbada6cb AG |
13 | } else if (str_eq(compilercheck, "content") || !allow_command) { |
14 | hash_delimiter(hash, "cc_content"); | |
15 | hash_file(hash, path); |