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

11 lines
347 B
Diff
Raw Normal View History

--- a/src/ccache/ccache.cpp
+++ b/src/ccache/ccache.cpp
@@ -1906,6 +1906,7 @@ get_manifest_key(Context& ctx, Hash& has
"OBJCPLUS_INCLUDE_PATH", // Clang
"CLANG_CONFIG_FILE_SYSTEM_DIR", // Clang
"CLANG_CONFIG_FILE_USER_DIR", // Clang
+ "GCC_HONOUR_COPTS",
nullptr,
};
for (const char** p = envvars; *p; ++p) {