diff options
Diffstat (limited to 'build2/operation.cxx')
-rw-r--r-- | build2/operation.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build2/operation.cxx b/build2/operation.cxx index ca8382c..09e7b8c 100644 --- a/build2/operation.cxx +++ b/build2/operation.cxx @@ -108,8 +108,7 @@ namespace build2 if (ops.progress () || (stderr_term && verb >= 1 && verb <= 2 && !ops.no_progress ())) { - size_t init (target_count.load (memory_order_relaxed)); - size_t incr (init > 100 ? 10 : 1); + size_t incr (stderr_term ? 1 : 10); // Scale depending on output type. what = " targets to " + diag_do (a); |