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-09 18:05:20 +0100
commit0ae078c9adae81d2566b86ac645390f75ce4335a (patch)
tree70cc6558c7139df545907a5f00d16fd9f1d30eeb /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";