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

tools: do not apply -m32 for gcc on ARM

[SVN r77216]
This commit is contained in:
Oliver Kowalke
2012-03-04 14:00:26 +00:00
parent 4ac262ed64
commit e6aa07655b

View File

@@ -446,7 +446,11 @@ rule setup-address-model ( targets * : sources * : properties * )
}
else
{
if $(model) = 32
# do not apply -m32 for ARM platform, because this
# option is not valid on ARM
# FIXME: use property architecture instead os.platform
# FIXME: unfortunately architecture seams not to be set
if $(model) = 32 && [ os.platform ] != ARM
{
option = -m32 ;
}