summaryrefslogtreecommitdiff
path: root/src/task_ar.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-11-21 11:13:28 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-11-21 13:26:29 +0100
commita7869c0bd65faacdd008284df9ab07de7df3d445 (patch)
tree8d83ab0b23cd504ddf5c5eeddf5a322fd81db3ed /src/task_ar.cc
parent28531aed4d1654cdb6f590e92448bc0ba3ab755b (diff)
Bundle flags in struct for easier passing around.
Diffstat (limited to 'src/task_ar.cc')
-rw-r--r--src/task_ar.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/task_ar.cc b/src/task_ar.cc
index 0bcad0c..d4a4447 100644
--- a/src/task_ar.cc
+++ b/src/task_ar.cc
@@ -178,9 +178,9 @@ bool TaskAR::derived() const
std::string TaskAR::flagsString() const
{
std::string flagsStr;
- for(const auto& flag : config.ldflags)
+ for(const auto& flag : config.flags.ldflags)
{
- if(flag != config.ldflags[0])
+ if(flag != config.flags.ldflags[0])
{
flagsStr += " ";
}