From 41cad5bba8a718a0403c0578660c60e81c9f46e4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Jun 2016 16:59:09 +0200 Subject: Add config.bin.target var/hint, use to decide libso{} install mode Normally the user doesn't need to specify config.bin.target explicitly since the cxx module will hint it. We now also have the whole set of target's components: bin.target.{cpu,vendor,system,version,class} --- build2/config/utility.txx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/config/utility.txx') diff --git a/build2/config/utility.txx b/build2/config/utility.txx index 30ed02f..5ebd261 100644 --- a/build2/config/utility.txx +++ b/build2/config/utility.txx @@ -13,6 +13,9 @@ namespace build2 pair, bool> required (scope& root, const variable& var, const T& def_val, bool def_ovr) { + // Note: see also the other required() version if changing anything + // here. + if (current_mif->id == configure_id) save_variable (root, var); -- cgit v1.1