aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/pkg-build-collect.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/bpkg/pkg-build-collect.cxx b/bpkg/pkg-build-collect.cxx
index 352fa52..6f1195c 100644
--- a/bpkg/pkg-build-collect.cxx
+++ b/bpkg/pkg-build-collect.cxx
@@ -2962,8 +2962,12 @@ namespace bpkg
const strings mods {"cc"};
+ // Use the *-no-warnings host/build2 configurations since the
+ // user has no control over such private configurations and
+ // they are primarily used for consumption.
+ //
const strings vars {
- "config.config.load=~" + type,
+ "config.config.load=~" + type + "-no-warnings",
"config.config.persist+='config.*'@unused=drop"};
dir_path cd (bpkg_dir / dir_path (type));