aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 2a5b2d2..5d0e010 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -359,7 +359,9 @@ namespace build2
[a, &t]()
{
t.raw_state = target_state::failed;
- info << "while " << diag_doing (a, t);
+
+ if (verb != 0)
+ info << "while " << diag_doing (a, t);
}));
target_state ts (t.recipe (a) (a, t));