From 7053e76188a329ccb2858ffb676aadda8e7b2fde Mon Sep 17 00:00:00 2001 From: Dmitry Arkhipov Date: Thu, 2 May 2024 15:54:34 +0300 Subject: [PATCH] revert names of conditional features for deduction The old names were referenced in Boost libraries and it's easier to return to old names than fixing every reference. --- boostcpp.jam | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/boostcpp.jam b/boostcpp.jam index be3578dca9..1c7dfee9c6 100644 --- a/boostcpp.jam +++ b/boostcpp.jam @@ -616,7 +616,7 @@ for a in $(.deducible-architectures) feature.compose $(a)_64 : $(a) 64 ; } -rule deduce-platform ( properties * ) +rule deduce-architecture ( properties * ) { local deduced-pl = [ property.select : $(properties) ] ; if $(deduced-pl) @@ -669,7 +669,13 @@ rule deduce-platform ( properties * ) } +rule deduce-address-model ( properties * ) +{ + # this rule is a noop and exists for legacy reasons +} + rule platform ( ) { - return @boostcpp.deduce-platform ; + return @boostcpp.deduce-architecture + @boostcpp.deduce-address-model ; }