summaryrefslogtreecommitdiff
path: root/src/task_cc.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_cc.cc
parentc50b7554cfd23b53107f2a2917a0be22a68b0c11 (diff)
Diffstat (limited to 'src/task_cc.cc')
-rw-r--r--src/task_cc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/task_cc.cc b/src/task_cc.cc
index 9de2657..2e15555 100644
--- a/src/task_cc.cc
+++ b/src/task_cc.cc
@@ -278,12 +278,14 @@ std::vector<std::string> TaskCC::flags() const
{
append(flags, to_strings(toolchain, flag));
}
+ append(flags, to_strings(toolchain, {ctor::toolchain::msvc, ctor::c_opt::custom, "/nologo"}));
return flags;
case ctor::language::cpp:
for(const auto& flag : config.flags.cxxflags)
{
append(flags, to_strings(toolchain, flag));
}
+ append(flags, to_strings(toolchain, {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/nologo"}));
return flags;
default:
std::cerr << "Unknown CC target type\n";