aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ccache/patches/100-honour-copts.patch
blob: e4045ef9be0824a216b90ae4b6b6ae3cc5ada160 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/ccache.cpp
+++ b/src/ccache.cpp
@@ -1654,6 +1654,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);