summaryrefslogtreecommitdiff
path: root/src/task_ar.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2024-12-23 12:14:46 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2025-01-08 19:01:09 +0100
commita7f2893bfb5149944be598bd93b642ead27c1886 (patch)
treeb2086fda57e5453b3493d91923d1855bc2bcd0b5 /src/task_ar.cc
parentc50b7554cfd23b53107f2a2917a0be22a68b0c11 (diff)
Diffstat (limited to 'src/task_ar.cc')
-rw-r--r--src/task_ar.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/task_ar.cc b/src/task_ar.cc
index 09403bb..25ab7c0 100644
--- a/src/task_ar.cc
+++ b/src/task_ar.cc
@@ -93,6 +93,8 @@ int TaskAR::runInner()
append(args, ar_option(toolchain, ctor::ar_opt::add_index));
append(args, ar_option(toolchain, ctor::ar_opt::create));
append(args, ar_option(toolchain, ctor::ar_opt::output, targetFile().string()));
+ append(args, to_strings(toolchain, {ctor::toolchain::msvc, ctor::ar_opt::custom, "/nologo"}));
+
for(const auto& task : getDependsTasks())
{
args.push_back(task->targetFile().string());
@@ -189,7 +191,6 @@ std::string TaskAR::flagsString() const
flagsStr += str;
}
}
- flagsStr += "\n";
for(const auto& dep : config.depends)
{