summaryrefslogtreecommitdiff
path: root/src/task_so.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_so.cc')
-rw-r--r--src/task_so.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/task_so.cc b/src/task_so.cc
index 5aa5723..bf47e05 100644
--- a/src/task_so.cc
+++ b/src/task_so.cc
@@ -118,7 +118,7 @@ int TaskSO::runInner()
args.push_back(depFile.string());
}
- for(const auto& flag : config.ldflags)
+ for(const auto& flag : config.flags.ldflags)
{
args.push_back(flag);
}
@@ -183,7 +183,7 @@ bool TaskSO::derived() const
std::string TaskSO::flagsString() const
{
std::string flagsStr = compiler();
- for(const auto& flag : config.ldflags)
+ for(const auto& flag : config.flags.ldflags)
{
flagsStr += " " + flag;
}