aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-08 11:01:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-08 11:01:26 +0200
commit2b6ae9f528504897bc24803d95bbb6da61a2a85b (patch)
tree88f136d21acc99bf4947f758ef149cf85f748663 /bpkg/pkg-configure.cxx
parent02e321b97889b558ecaad5ed03c80aee08f9c0ba (diff)
Add support for --build, --build-option common options
Diffstat (limited to 'bpkg/pkg-configure.cxx')
-rw-r--r--bpkg/pkg-configure.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx
index 9e478c8..7a808e2 100644
--- a/bpkg/pkg-configure.cxx
+++ b/bpkg/pkg-configure.cxx
@@ -22,6 +22,7 @@ namespace bpkg
{
void
pkg_configure (const dir_path& c,
+ const common_options& o,
transaction& t,
const shared_ptr<selected_package>& p,
const strings& vars)
@@ -117,7 +118,7 @@ namespace bpkg
//
try
{
- run_b (bspec, true, vars); // Run quiet.
+ run_b (o, bspec, true, vars); // Run quiet.
}
catch (const failed&)
{
@@ -133,7 +134,7 @@ namespace bpkg
p->out_root = out_root.leaf ();
p->state = package_state::broken;
- pkg_disfigure (c, t, p); // Commits the transaction.
+ pkg_disfigure (c, o, t, p); // Commits the transaction.
throw;
}
@@ -188,7 +189,7 @@ namespace bpkg
level4 ([&]{trace << p->name << " " << p->version;});
- pkg_configure (c, t, p, vars); // Commits the transaction.
+ pkg_configure (c, o, t, p, vars); // Commits the transaction.
if (verb)
text << "configured " << p->name << " " << p->version;