summaryrefslogtreecommitdiff
path: root/src/task_ar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_ar.cc')
-rw-r--r--src/task_ar.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/task_ar.cc b/src/task_ar.cc
index 426a576..88c78c6 100644
--- a/src/task_ar.cc
+++ b/src/task_ar.cc
@@ -81,6 +81,10 @@ int TaskAR::runInner()
auto toolchain = getToolChain(config.system);
std::vector<std::string> args;
+ for(const auto& flag : config.flags.arflags)
+ {
+ append(args, to_strings(toolchain, flag));
+ }
append(args, ar_option(toolchain, ctor::ar_opt::replace));
append(args, ar_option(toolchain, ctor::ar_opt::add_index));
append(args, ar_option(toolchain, ctor::ar_opt::create));