summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/task_ar.cc9
-rw-r--r--src/task_ld.cc9
-rw-r--r--src/task_so.cc9
3 files changed, 0 insertions, 27 deletions
diff --git a/src/task_ar.cc b/src/task_ar.cc
index d4a4447..0763c04 100644
--- a/src/task_ar.cc
+++ b/src/task_ar.cc
@@ -67,15 +67,6 @@ bool TaskAR::dirtyInner()
return true;
}
- for(const auto& objectFile : objectFiles)
- {
- if(std::filesystem::last_write_time(targetFile) <=
- std::filesystem::last_write_time(objectFile))
- {
- return true;
- }
- }
-
{
auto lastFlags = readFile(flagsFile.string());
if(flagsString() != lastFlags)
diff --git a/src/task_ld.cc b/src/task_ld.cc
index 82c26a9..918fdee 100644
--- a/src/task_ld.cc
+++ b/src/task_ld.cc
@@ -86,15 +86,6 @@ bool TaskLD::dirtyInner()
return true;
}
- for(const auto& objectFile : objectFiles)
- {
- if(std::filesystem::last_write_time(targetFile) <=
- std::filesystem::last_write_time(objectFile))
- {
- return true;
- }
- }
-
{
auto lastFlags = readFile(flagsFile.string());
if(flagsString() != lastFlags)
diff --git a/src/task_so.cc b/src/task_so.cc
index bf47e05..430c3e1 100644
--- a/src/task_so.cc
+++ b/src/task_so.cc
@@ -67,15 +67,6 @@ bool TaskSO::dirtyInner()
return true;
}
- for(const auto& objectFile : objectFiles)
- {
- if(std::filesystem::last_write_time(targetFile) <=
- std::filesystem::last_write_time(objectFile))
- {
- return true;
- }
- }
-
{
auto lastFlags = readFile(flagsFile.string());
if(flagsString() != lastFlags)