aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-04-01 10:40:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-04-01 10:40:03 +0200
commitf39088f3f43408eabdb95b7306531279de275210 (patch)
tree3d8ef5b6a3287cbbcd4c991dd65370d85c40ba0f
parent380cb54ab94a502d2d7ff5d47f21839ee9e4f1e1 (diff)
Use ~host/build2-no-warnings for private configurations
-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));