aboutsummaryrefslogtreecommitdiff
path: root/bpkg/build.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/build.cxx
parent02e321b97889b558ecaad5ed03c80aee08f9c0ba (diff)
Add support for --build, --build-option common options
Diffstat (limited to 'bpkg/build.cxx')
-rw-r--r--bpkg/build.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/build.cxx b/bpkg/build.cxx
index 86219dd..3cb96f4 100644
--- a/bpkg/build.cxx
+++ b/bpkg/build.cxx
@@ -1057,7 +1057,7 @@ namespace bpkg
// always leave the configuration in a valid state.
//
transaction t (db.begin ());
- pkg_disfigure (c, t, sp); // Commits the transaction.
+ pkg_disfigure (c, o, t, sp); // Commits the transaction.
assert (sp->state == package_state::unpacked);
if (verb)
@@ -1158,7 +1158,7 @@ namespace bpkg
continue;
transaction t (db.begin ());
- pkg_configure (c, t, sp, strings ()); // Commits the transaction.
+ pkg_configure (c, o, t, sp, strings ()); // Commits the transaction.
assert (sp->state == package_state::configured);
if (verb)
@@ -1213,7 +1213,7 @@ namespace bpkg
if (find (names.begin (), names.end (), sp->name) == names.end ())
continue;
- pkg_update (c, sp);
+ pkg_update (c, o, sp);
if (verb)
text << "updated " << sp->name << " " << sp->version;