aboutsummaryrefslogtreecommitdiff
path: root/build/cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/cxx')
-rw-r--r--build/cxx/module.cxx2
-rw-r--r--build/cxx/rule.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/build/cxx/module.cxx b/build/cxx/module.cxx
index e5c71e7..846e324 100644
--- a/build/cxx/module.cxx
+++ b/build/cxx/module.cxx
@@ -61,7 +61,7 @@ namespace build
//
const char* args[] = {v.c_str (), "-dumpversion", nullptr};
- if (verb >= 1)
+ if (verb)
print_process (args);
else
text << "test " << v;
diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx
index a8a869f..963ecb1 100644
--- a/build/cxx/rule.cxx
+++ b/build/cxx/rule.cxx
@@ -278,7 +278,7 @@ namespace build
assert (f.absolute ()); // Logic below depends on this.
- level5 ([&]{trace << "prerequisite path: " << f.string ();});
+ level5 ([&]{trace << "prerequisite path: " << f;});
// Split the name into its directory part, the name part, and
// extension. Here we can assume the name part is a valid
@@ -383,7 +383,7 @@ namespace build
args.push_back (nullptr);
- if (verb >= 1)
+ if (verb)
print_process (args);
else
text << "c++ " << *s;
@@ -758,7 +758,7 @@ namespace build
args.push_back (nullptr);
- if (verb >= 1)
+ if (verb)
print_process (args);
else
text << "ld " << t;