diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-28 10:21:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-28 10:21:09 +0200 |
commit | 2908afbd6a9222b718c0f910edfbe2fc5943aad8 (patch) | |
tree | 91034caec661793da4c5368dd0a00431c3701d8a /libbuild2/cc/compile-rule.cxx | |
parent | a50652b3e3323a9492c32d2ca6e97befd7d9755b (diff) |
Avoid unnecessary work in depdb::close() if using static check_mtime()
Diffstat (limited to 'libbuild2/cc/compile-rule.cxx')
-rw-r--r-- | libbuild2/cc/compile-rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index 3c77ad3..db9e6cb 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -1424,7 +1424,7 @@ namespace build2 if (u && dd.reading () && !ctx.dry_run) dd.touch = timestamp_unknown; - dd.close (); + dd.close (false /* mtime_check */); md.dd = move (dd.path); // If the preprocessed output is suitable for compilation, then pass |