summaryrefslogtreecommitdiff
path: root/src/task_ar.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-11-06 11:03:12 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-11-06 11:03:12 +0100
commit92cc25c10bcba1f14cbf28bd0298311b8e81a2ea (patch)
tree1d35fd2cd31f7ef3718b46244a4305b44c295ec1 /src/task_ar.cc
parent1689e28435021f9bd12d92d167113338eb230057 (diff)
Fix rebuilding after adding or removing of ctor.cc files to the build configuration using -a/-r commandline args..
Diffstat (limited to 'src/task_ar.cc')
-rw-r--r--src/task_ar.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/task_ar.cc b/src/task_ar.cc
index 9658953..0bcad0c 100644
--- a/src/task_ar.cc
+++ b/src/task_ar.cc
@@ -197,5 +197,12 @@ std::string TaskAR::flagsString() const
flagsStr += dep;
}
+ auto deps = depends();
+ for(const auto& dep : deps)
+ {
+ flagsStr += " ";
+ flagsStr += dep;
+ }
+
return flagsStr;
}