diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-11-19 18:29:57 +0100 |
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-11-19 18:29:57 +0100 |
| commit | 4b72df8f8e32aad83b628fb2f1c852cb108c2aba (patch) | |
| tree | 0cae9b7d2144a148fccd34ff3885882e2adc3f76 /src/task_ar.cc | |
| parent | cd6c3ea1c3ca853fc38da4fa5fd62545c31aa92d (diff) | |
Fix missing config.depends dependency checks on all task types.develop
Diffstat (limited to 'src/task_ar.cc')
| -rw-r--r-- | src/task_ar.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/task_ar.cc b/src/task_ar.cc index 3b45cc2..74ea888 100644 --- a/src/task_ar.cc +++ b/src/task_ar.cc @@ -34,11 +34,6 @@ TaskAR::TaskAR(const ctor::build_configuration& config_, dependsStr.push_back(objectFile.string()); } - for(const auto& dep : config.depends) - { - depFiles.emplace_back(dep); - } - flagsFile = std::filesystem::path(settings.builddir) / cleanUp(sourceDir) / targetFile().stem(); flagsFile += ".flags"; @@ -155,11 +150,6 @@ std::vector<std::string> TaskAR::depends() const deps.push_back(objectFile.string()); } - for(const auto& dep : config.depends) - { - deps.push_back(dep); - } - return deps; } @@ -198,7 +188,7 @@ std::string TaskAR::flagsString() const for(const auto& dep : config.depends) { - if(dep != config.depends[0]) + if(&dep != &config.depends[0]) { flagsStr += " "; } |
