summaryrefslogtreecommitdiff
path: root/tools/ccache/patches/100-honour-copts.patch
blob: fc82aa4614bdd354db7b27937c834f1947e9bffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/ccache.c b/ccache.c
index 88e0ec5..7dffeb4 100644
--- a/ccache.c
+++ b/ccache.c
@@ -1762,6 +1762,7 @@ calculate_object_hash(struct args *args, struct mdfour *hash, int direct_mode)
 			"CPLUS_INCLUDE_PATH",
 			"OBJC_INCLUDE_PATH",
 			"OBJCPLUS_INCLUDE_PATH", // clang
+			"GCC_HONOUR_COPTS",
 			NULL
 		};
 		for (const char **p = envvars; *p; ++p) {