From: Joel Rosdahl Date: Sat, 16 Jul 2011 17:41:02 +0000 (+0200) Subject: config: Use recache from conf struct X-Git-Tag: v3.2~217 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=efe4f4b83589d6513d97194ac215d1a87ffe5a9b;p=thirdparty%2Fccache.git config: Use recache from conf struct --- 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; }