aboutsummaryrefslogtreecommitdiff
path: root/build2/bin
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-12 16:23:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-12 17:04:22 +0200
commit83b5af87efef571b707fc1f409f22571a9f5054c (patch)
tree4961218154dbe2237f017b9e068ffe80fa025ed7 /build2/bin
parent0fd7815cbc6557811df4f1b6ffb40461474b8534 (diff)
Add support for ordering modules in config.build
Diffstat (limited to 'build2/bin')
-rw-r--r--build2/bin/module.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/bin/module.cxx b/build2/bin/module.cxx
index 3a3f612..89f20af 100644
--- a/build2/bin/module.cxx
+++ b/build2/bin/module.cxx
@@ -74,6 +74,10 @@ namespace build2
using config::required;
using config::optional;
+ // Adjust module priority (binutils).
+ //
+ config::save_module (r, "bin", 350);
+
// The idea here is as follows: if we already have one of
// the bin.* variables set, then we assume this is static
// project configuration and don't bother setting the