aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-29 11:28:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-29 11:28:05 +0200
commit32e2ccb82db1962c659c2dc53e39a74e1f8d3b97 (patch)
tree89d8c29a9d916157810ff4f3343f091efc11bab9
parentcece3cd62c794515dc26ced655eb0b164a1ed79b (diff)
Suppress VC banners even at verbosity above 2
There is really no use seeing this stuff.
-rw-r--r--build2/cxx/compile.cxx3
-rw-r--r--build2/cxx/link.cxx7
2 files changed, 3 insertions, 7 deletions
diff --git a/build2/cxx/compile.cxx b/build2/cxx/compile.cxx
index a2990fb..c737ce7 100644
--- a/build2/cxx/compile.cxx
+++ b/build2/cxx/compile.cxx
@@ -1304,8 +1304,7 @@ namespace build2
//
uint64_t cver (cast<uint64_t> (rs["cxx.version.major"]));
- if (verb < 3)
- args.push_back ("/nologo");
+ args.push_back ("/nologo");
// While we want to keep the low-level build as "pure" as possible,
// the two misguided defaults, exceptions and runtime, just have to be
diff --git a/build2/cxx/link.cxx b/build2/cxx/link.cxx
index 19bf6d9..789ed0b 100644
--- a/build2/cxx/link.cxx
+++ b/build2/cxx/link.cxx
@@ -1480,8 +1480,7 @@ namespace build2
// used for. Perhaps for link-time code generation (/LTCG)? If
// that's the case, then we may need to pass cxx.loptions.
//
- if (verb < 3)
- args.push_back ("/NOLOGO");
+ args.push_back ("/NOLOGO");
// Add /MACHINE.
//
@@ -1506,9 +1505,7 @@ namespace build2
// Using link.exe directly.
//
args[0] = cast<path> (rs["config.bin.ld"]).string ().c_str ();
-
- if (verb < 3)
- args.push_back ("/NOLOGO");
+ args.push_back ("/NOLOGO");
if (lt == otype::s)
args.push_back ("/DLL");