openwrt/tools/ccache/patches/100-honour-copts.patch

11 lines
274 B
Diff

--- a/src/ccache.c
+++ b/src/ccache.c
@@ -2158,6 +2158,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) {