diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-12 15:49:16 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-12 15:59:22 +0100 |
commit | c093758b4688fb5bae2cc7727b6c9b52b824043e (patch) | |
tree | f92c206b0fa6366319e17f1c7f375dfeb0ab5f27 /src/task_so.cc | |
parent | cc4e14d243f4e7e1ad487d8865c5ffc8423e473d (diff) |
Move tools opt to ctor.h and rename tool_chain to toolchain for consistency.
Diffstat (limited to 'src/task_so.cc')
-rw-r--r-- | src/task_so.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/task_so.cc b/src/task_so.cc index 0340ff1..93a5ddb 100644 --- a/src/task_so.cc +++ b/src/task_so.cc @@ -79,14 +79,14 @@ bool TaskSO::dirtyInner() int TaskSO::runInner() { - auto tool_chain = getToolChain(config.system); + auto toolchain = getToolChain(config.system); std::vector<std::string> args; - append(args, getOption(tool_chain, opt::position_independent_code)); - append(args, getOption(tool_chain, opt::build_shared)); + append(args, getOption(toolchain, ctor::opt::position_independent_code)); + append(args, getOption(toolchain, ctor::opt::build_shared)); - append(args, getOption(tool_chain, opt::output, targetFile().string())); + append(args, getOption(toolchain, ctor::opt::output, targetFile().string())); for(const auto& task : getDependsTasks()) { |