summaryrefslogtreecommitdiff
path: root/src/task_ld.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_ld.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_ld.cc')
-rw-r--r--src/task_ld.cc9
1 files changed, 0 insertions, 9 deletions
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)