diff options
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 += " "; } |
