diff --git a/ui/build/ninja.go b/ui/build/ninja.go index 22ec1f171..0749fe3af 100644 --- a/ui/build/ninja.go +++ b/ui/build/ninja.go @@ -142,6 +142,7 @@ func runNinja(ctx Context, config Config) { "CCACHE_SLOPPINESS", "CCACHE_BASEDIR", "CCACHE_CPP2", + "CCACHE_DIR", }, config.BuildBrokenNinjaUsesEnvVars()...)...) }