aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-02-12 13:54:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-02-12 13:54:40 +0200
commit67617fc444600cad5de2338f4d6f49d7a46fd915 (patch)
treef81b44aecf89147eb7e178f49e314d26a6d1fee6 /libbuild2/cc
parent7b7732096c0c4cb6f9f1c8e31a48417973748ff8 (diff)
Add convenience run_start() overload
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/gcc.cxx2
-rw-r--r--libbuild2/cc/guess.cxx4
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) */));