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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user