From f39088f3f43408eabdb95b7306531279de275210 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 1 Apr 2024 10:40:03 +0200 Subject: Use ~host/build2-no-warnings for private configurations --- bpkg/pkg-build-collect.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)); -- cgit v1.1