From 2b6ae9f528504897bc24803d95bbb6da61a2a85b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Dec 2015 11:01:26 +0200 Subject: Add support for --build, --build-option common options --- bpkg/pkg-configure.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bpkg/pkg-configure.cxx') 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& 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; -- cgit v1.1