summaryrefslogtreecommitdiff
path: root/src/task_ld.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_ld.cc')
-rw-r--r--src/task_ld.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/task_ld.cc b/src/task_ld.cc
index 2a3c8c4..82c26a9 100644
--- a/src/task_ld.cc
+++ b/src/task_ld.cc
@@ -139,7 +139,7 @@ int TaskLD::runInner()
}
}
- for(const auto& flag : config.ldflags)
+ for(const auto& flag : config.flags.ldflags)
{
args.push_back(flag);
}
@@ -206,9 +206,9 @@ bool TaskLD::derived() const
std::string TaskLD::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 += " ";
}