aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-11-28 09:40:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-11-28 09:40:25 +0200
commita50652b3e3323a9492c32d2ca6e97befd7d9755b (patch)
tree25ea39faa67cc87d41a3cf9623a82818dcd0ee3d /libbuild2/cc
parenta8a54893c09c86e560e6fee9d7972419716dd56d (diff)
Generalize depdb::touch functionality to support custom timestamp
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/compile-rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx
index 525821f..3c77ad3 100644
--- a/libbuild2/cc/compile-rule.cxx
+++ b/libbuild2/cc/compile-rule.cxx
@@ -1422,7 +1422,7 @@ namespace build2
// on the real run).
//
if (u && dd.reading () && !ctx.dry_run)
- dd.touch = true;
+ dd.touch = timestamp_unknown;
dd.close ();
md.dd = move (dd.path);