summaryrefslogtreecommitdiff
path: root/src/task_ar.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-06-06 11:33:17 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2022-06-06 11:33:17 +0200
commit15eea63a6e7da37e7b4d643f189e6de150268ff8 (patch)
treef50060f1b6fe23e62daddefb71af66f3eb5d085e /src/task_ar.cc
parente9023132d506a9223d6c7c315a3cdf118effd30e (diff)
Checking for dirty object files in link targets (ar, ld and so) redundant (already handled by Task baseclass).
Diffstat (limited to 'src/task_ar.cc')
-rw-r--r--src/task_ar.cc9
1 files changed, 0 insertions, 9 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)