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