From efe4f4b83589d6513d97194ac215d1a87ffe5a9b Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 16 Jul 2011 19:41:02 +0200 Subject: [PATCH] config: Use recache from conf struct --- ccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccache.c b/ccache.c index 4dfe9f21d..f2205a161 100644 --- a/ccache.c +++ b/ccache.c @@ -1030,7 +1030,7 @@ from_cache(enum fromcache_call_mode mode, bool put_object_in_manifest) bool produce_dep_file; /* the user might be disabling cache hits */ - if (mode != FROMCACHE_COMPILED_MODE && getenv("CCACHE_RECACHE")) { + if (mode != FROMCACHE_COMPILED_MODE && conf->recache) { return; } -- 2.47.3