diff options
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/gcc.cxx | 2 | ||||
-rw-r--r-- | libbuild2/cc/guess.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/cc/gcc.cxx b/libbuild2/cc/gcc.cxx index 7c32a65..84d4e01 100644 --- a/libbuild2/cc/gcc.cxx +++ b/libbuild2/cc/gcc.cxx @@ -243,7 +243,7 @@ namespace build2 // Open pipe to stdout. // process pr (run_start (xc, - args.data (), + args, 0, /* stdin */ -1 /* stdout */)); diff --git a/libbuild2/cc/guess.cxx b/libbuild2/cc/guess.cxx index f2a6189..c47e5a1 100644 --- a/libbuild2/cc/guess.cxx +++ b/libbuild2/cc/guess.cxx @@ -184,7 +184,7 @@ namespace build2 // process pr (run_start (3 /* verbosity */, xp, - args.data (), + args, -1 /* stdin */, -1 /* stdout */, false /* error */)); @@ -1942,7 +1942,7 @@ namespace build2 // process pr (run_start (3 /* verbosity */, xp, - args.data (), + args, -2 /* stdin (/dev/null) */, -1 /* stdout */, false /* error (2>&1) */)); |