aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/gcc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/gcc.cxx')
-rw-r--r--build2/cc/gcc.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/build2/cc/gcc.cxx b/build2/cc/gcc.cxx
index 0ce4c4f..ec69524 100644
--- a/build2/cc/gcc.cxx
+++ b/build2/cc/gcc.cxx
@@ -180,7 +180,12 @@ namespace build2
if (verb >= 3)
print_process (args);
- process pr (run_start (xc, args.data (), -1)); // Open pipe to stdout.
+ // Open pipe to stdout.
+ //
+ process pr (run_start (xc,
+ args.data (),
+ 0, /* stdin */
+ -1 /* stdout */));
string l;
try