aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-07-29 17:37:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-08-02 14:26:28 +0300
commitd6d72bc6e4545d216d89660f86781bbc34980fe9 (patch)
tree2971fda1501575cdc493095fecd1a8e5c0af9668 /bpkg/package.cxx
parentfee16e0139803510bb0666aa56990af5849b0589 (diff)
For rep-create, pkg-verify, and rep-info don't verify build-time toolchain dependency constraints if --ignore-unknown option is specified
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r--bpkg/package.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/package.cxx b/bpkg/package.cxx
index a7282c5..44eff01 100644
--- a/bpkg/package.cxx
+++ b/bpkg/package.cxx
@@ -571,11 +571,13 @@ namespace bpkg
? pkg_verify (options,
a->absolute () ? *a : db.config_orig / *a,
true /* ignore_unknown */,
+ false /* ignore_toolchain */,
false /* expand_values */,
true /* load_buildfiles */)
: pkg_verify (options,
sp->effective_src_root (db.config_orig),
true /* ignore_unknown */,
+ false /* ignore_toolchain */,
true /* load_buildfiles */,
// Copy potentially fixed up version from selected package.
[&sp] (version& v) {v = sp->version;}));
@@ -827,7 +829,7 @@ namespace bpkg
bool
toolchain_buildtime_dependency (const common_options& o,
- const dependency_alternatives_ex& das,
+ const dependency_alternatives& das,
const package_name* pkg)
{
if (das.buildtime)