2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Don't use -m32 on arm. This is a more correct version of r77216.

[SVN r77275]
This commit is contained in:
Steven Watanabe
2012-03-08 20:51:37 +00:00
parent 4c5dec8fcc
commit 9c780b64e5

View File

@@ -446,13 +446,17 @@ rule setup-address-model ( targets * : sources * : properties * )
}
else
{
if $(model) = 32
local arch = [ feature.get-values architecture : $(properties) ] ;
if $(arch) != arm
{
option = -m32 ;
}
else if $(model) = 64
{
option = -m64 ;
if $(model) = 32
{
option = -m32 ;
}
else if $(model) = 64
{
option = -m64 ;
}
}
# For darwin, the model can be 32_64. darwin.jam will handle that
# on its own.