aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ccache/patches/100-honour-copts.patch
blob: 31f70090e48898e372a9d490cd50b824b6245ea0 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/ccache.c
+++ b/src/ccache.c
@@ -2227,6 +2227,7 @@ calculate_object_hash(struct args *args,
 			"CPLUS_INCLUDE_PATH",
 			"OBJC_INCLUDE_PATH",
 			"OBJCPLUS_INCLUDE_PATH", // clang
+			"GCC_HONOUR_COPTS",
 			NULL
 		};
 		for (const char **p = envvars; *p; ++p) {