]> git.pld-linux.org Git - packages/ccache.git/blame - ccache-nohash_size_mtime.patch
- updated to 3.1.10
[packages/ccache.git] / ccache-nohash_size_mtime.patch
CommitLineData
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);
This page took 0.059585 seconds and 4 git commands to generate.