From a82cdb8fd9ba02034d296769772cdf81244da66a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 20 Apr 2015 13:01:46 +0200 Subject: Automatically decide when to print relative/absolute paths --- build/cxx/rule.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build/cxx/rule.cxx') 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; -- cgit v1.1