aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/algorithm.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/algorithm.cxx b/libbuild2/algorithm.cxx
index 963714b..ded34b4 100644
--- a/libbuild2/algorithm.cxx
+++ b/libbuild2/algorithm.cxx
@@ -1169,7 +1169,8 @@ namespace build2
}
}
else
- cpfile (p, l, cpflags::overwrite_content);
+ cpfile (p, l, (cpflags::overwrite_content |
+ cpflags::copy_timestamps));
break;
}