Lines 5-13
Link Here
|
5 |
-bdrewery |
5 |
-bdrewery |
6 |
|
6 |
|
7 |
|
7 |
|
8 |
--- src/ccache.c.orig 2018-03-25 13:24:05.000000000 -0700 |
8 |
--- src/ccache.c.orig 2020-03-29 14:11:45 UTC |
9 |
+++ src/ccache.c 2018-06-26 11:44:03.336177000 -0700 |
9 |
+++ src/ccache.c |
10 |
@@ -487,6 +487,16 @@ guess_compiler(const char *path) |
10 |
@@ -579,6 +579,16 @@ guess_compiler(const char *path) |
11 |
} else if (str_eq(name, "pump") || str_eq(name, "distcc-pump")) { |
11 |
} else if (str_eq(name, "pump") || str_eq(name, "distcc-pump")) { |
12 |
result = GUESSED_PUMP; |
12 |
result = GUESSED_PUMP; |
13 |
} |
13 |
} |
Lines 24-30
Link Here
|
24 |
free(name); |
24 |
free(name); |
25 |
return result; |
25 |
return result; |
26 |
} |
26 |
} |
27 |
@@ -1657,6 +1667,7 @@ calculate_common_hash(struct args *args, struct mdfour |
27 |
@@ -2001,6 +2011,7 @@ calculate_common_hash(struct args *args, struct hash * |
28 |
free(p); |
28 |
free(p); |
29 |
} |
29 |
} |
30 |
|
30 |
|
Lines 32-38
Link Here
|
32 |
// Possibly hash GCC_COLORS (for color diagnostics). |
32 |
// Possibly hash GCC_COLORS (for color diagnostics). |
33 |
if (guessed_compiler == GUESSED_GCC) { |
33 |
if (guessed_compiler == GUESSED_GCC) { |
34 |
const char *gcc_colors = getenv("GCC_COLORS"); |
34 |
const char *gcc_colors = getenv("GCC_COLORS"); |
35 |
@@ -1665,6 +1676,7 @@ calculate_common_hash(struct args *args, struct mdfour |
35 |
@@ -2009,6 +2020,7 @@ calculate_common_hash(struct args *args, struct hash * |
36 |
hash_string(hash, gcc_colors); |
36 |
hash_string(hash, gcc_colors); |
37 |
} |
37 |
} |
38 |
} |
38 |
} |
Lines 40-46
Link Here
|
40 |
} |
40 |
} |
41 |
|
41 |
|
42 |
// Update a hash sum with information specific to the direct and preprocessor |
42 |
// Update a hash sum with information specific to the direct and preprocessor |
43 |
@@ -1697,6 +1709,13 @@ calculate_object_hash(struct args *args, struct mdfour |
43 |
@@ -2043,6 +2055,13 @@ calculate_object_hash(struct args *args, struct args * |
44 |
|
44 |
|
45 |
// -Wl,... doesn't affect compilation (except for clang). |
45 |
// -Wl,... doesn't affect compilation (except for clang). |
46 |
if (str_startswith(args->argv[i], "-Wl,") && !is_clang) { |
46 |
if (str_startswith(args->argv[i], "-Wl,") && !is_clang) { |