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

Don't pass -m64 if address-model is 32_64 (or anything != 64).

[SVN r57061]
This commit is contained in:
Vladimir Prus
2009-10-22 08:23:41 +00:00
parent 6cb30ea23b
commit 4cd98aa8ad

View File

@@ -373,10 +373,12 @@ rule setup-address-model ( targets * : sources * : properties * )
{
option = -m32 ;
}
else
else if $(model) = 64
{
option = -m64 ;
}
# For darwin, the model can be 32_64. darwin.jam will handle that
# on its own.
}
OPTIONS on $(targets) += $(option) ;
}