diff options
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 169a973..e8d8358 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1156,6 +1156,7 @@ class Compiler: if not want_output: if cdata is not None and key in cdata.compiler_check_cache: p = cdata.compiler_check_cache[key] + p.cached = True mlog.debug('Using cached compile:') mlog.debug('Cached command line: ', ' '.join(p.commands), '\n') mlog.debug('Code:\n', code) @@ -1213,6 +1214,7 @@ class Compiler: for i in todel: delattr(p, i) cdata.compiler_check_cache[key] = p + p.cached = False yield p except (PermissionError, OSError): # On Windows antivirus programs and the like hold on to files so |