aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile-rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/compile-rule.cxx')
-rw-r--r--build2/cc/compile-rule.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index 9e90017..4f11cbd 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -2008,9 +2008,10 @@ namespace build2
//
args.push_back ("-MF");
- // GCC is not capable of writing the dependency info to
- // stdout. We also need to sense the diagnostics on the -E
- // runs.
+ // GCC until version 8 was not capable of writing the
+ // dependency info to stdout. We also need to sense the
+ // diagnostics on the -E runs (which we do by redirective
+ // stderr to stdout).
//
if (cid == compiler_id::gcc)
{