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/build.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bpkg/build.cxx') 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; -- cgit v1.1