aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/link-rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/link-rule.cxx')
-rw-r--r--build2/cc/link-rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx
index 6c6aa0d..cffd731 100644
--- a/build2/cc/link-rule.cxx
+++ b/build2/cc/link-rule.cxx
@@ -1689,7 +1689,7 @@ namespace build2
path& mf (p.first);
bool mf_cf (p.second); // Changed flag (timestamp resolution).
- timestamp mf_mt (file_mtime (mf));
+ timestamp mf_mt (mtime (mf));
if (tsys == "mingw32")
{
@@ -1699,7 +1699,7 @@ namespace build2
//
manifest = mf + ".o";
- if (mf_mt > file_mtime (manifest) || mf_cf)
+ if (mf_mt > mtime (manifest) || mf_cf)
{
path of (relative (manifest));