mirror of
https://github.com/boostorg/boost.git
synced 2025-04-13 08:33:00 +00:00
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.
This commit is contained in:
parent
96e69a088d
commit
41460901ad
1 changed files with 8 additions and 2 deletions
10
boostcpp.jam
10
boostcpp.jam
|
@ -616,7 +616,7 @@ for a in $(.deducible-architectures)
|
|||
feature.compose <x-deduced-platform>$(a)_64 : <architecture>$(a) <address-model>64 ;
|
||||
}
|
||||
|
||||
rule deduce-platform ( properties * )
|
||||
rule deduce-architecture ( properties * )
|
||||
{
|
||||
local deduced-pl = [ property.select <x-deduced-platform> : $(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 <conditional>@boostcpp.deduce-platform ;
|
||||
return <conditional>@boostcpp.deduce-architecture
|
||||
<conditional>@boostcpp.deduce-address-model ;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue