aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ccache/patches/100-honour-copts.patch
blob: 0dcc6598f57a85c65ca36bcbc67eb7a85ec514f8 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/ccache.cpp
+++ b/src/ccache.cpp
@@ -1756,6 +1756,7 @@ calculate_result_name(Context& ctx,
                              "CPLUS_INCLUDE_PATH",
                              "OBJC_INCLUDE_PATH",
                              "OBJCPLUS_INCLUDE_PATH", // clang
+                             "GCC_HONOUR_COPTS",
                              nullptr};
     for (const char** p = envvars; *p; ++p) {
       const char* v = getenv(*p);