diff options
author | Thomas Otto <thomas.otto@pdv-fs.de> | 2020-01-24 20:23:14 +0100 |
---|---|---|
committer | Thomas Otto <thomas.otto@pdv-fs.de> | 2020-02-13 23:51:43 +0100 |
commit | c0331e95ea1ac8b2284aba434826a71d2d705a0e (patch) | |
tree | 87543f5074155bcb9f818059c2162f0c8ac1bbe6 /src/ccache.cpp | |
parent | 0902d812d4de22f44623eebfe932433dc8559362 (diff) | |
download | ccache-c0331e95ea1ac8b2284aba434826a71d2d705a0e.tar.gz ccache-c0331e95ea1ac8b2284aba434826a71d2d705a0e.tar.bz2 ccache-c0331e95ea1ac8b2284aba434826a71d2d705a0e.zip |
Context: move using_precompiled_header
Diffstat (limited to 'src/ccache.cpp')
-rw-r--r-- | src/ccache.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ccache.cpp b/src/ccache.cpp index 96c13564..528ccbec 100644 --- a/src/ccache.cpp +++ b/src/ccache.cpp @@ -1800,7 +1800,7 @@ calculate_result_name(Context& ctx, // they are going to have any effect at all. For precompiled headers this // might not be the case. if (!direct_mode && !output_is_precompiled_header - && !using_precompiled_header) { + && !ctx.args_info.using_precompiled_header) { if (compopt_affects_cpp(args->argv[i])) { if (compopt_takes_arg(args->argv[i])) { i++; @@ -3705,7 +3705,6 @@ do_cache_compilation(Context& ctx, char* argv[]) } output_is_precompiled_header = ctx.args_info.output_is_precompiled_header; - using_precompiled_header = ctx.args_info.using_precompiled_header; arch_args_size = ctx.args_info.arch_args_size; for (size_t i = 0; i < ctx.args_info.arch_args_size; ++i) { |