summaryrefslogtreecommitdiff
path: root/Jamroot
diff options
context:
space:
mode:
authorJürgen Hunold <jhunold@gmx.eu>2015-02-20 18:16:38 +0100
committerVladimir Prus <vladimir@codesourcery.com>2015-04-04 20:47:51 +0300
commite3bc35f7891e72ad74e57dc216db899d162373f5 (patch)
treed217081c787d6746dff53f1e69e43b6f8f3ea450 /Jamroot
parente99236cf4f146c9e38b0e308c03f0b6357e34a56 (diff)
downloadboost-e3bc35f7891e72ad74e57dc216db899d162373f5.tar.gz
Lift architecture detection
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot7
1 files changed, 6 insertions, 1 deletions
diff --git a/Jamroot b/Jamroot
index d1b3c3ad95..dec428c2a7 100644
--- a/Jamroot
+++ b/Jamroot
@@ -136,7 +136,8 @@ constant BOOST_JAMROOT_MODULE : $(__name__) ;
boostcpp.set-version $(BOOST_VERSION) ;
-
+use-project /boost/architecture : libs/config/checks/architecture ;
+
local all-headers =
[ MATCH .*libs/(.*)/include/boost : [ glob libs/*/include/boost ] ] ;
@@ -162,6 +163,10 @@ if $(all-headers)
project boost
: requirements <include>.
+
+ [ boostcpp.architecture ]
+ [ boostcpp.address-model ]
+
# Disable auto-linking for all targets here, primarily because it caused
# troubles with V2.
<define>BOOST_ALL_NO_LIB=1