diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-06 11:33:17 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-06 11:33:17 +0200 |
commit | 15eea63a6e7da37e7b4d643f189e6de150268ff8 (patch) | |
tree | f50060f1b6fe23e62daddefb71af66f3eb5d085e /src | |
parent | e9023132d506a9223d6c7c315a3cdf118effd30e (diff) |
Checking for dirty object files in link targets (ar, ld and so) redundant (already handled by Task baseclass).
Diffstat (limited to 'src')
-rw-r--r-- | src/task_ar.cc | 9 | ||||
-rw-r--r-- | src/task_ld.cc | 9 | ||||
-rw-r--r-- | src/task_so.cc | 9 |
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) |