|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77216 - trunk/tools/build/v2/tools
From: oliver.kowalke_at_[hidden]
Date: 2012-03-04 09:00:27
Author: olli
Date: 2012-03-04 09:00:26 EST (Sun, 04 Mar 2012)
New Revision: 77216
URL: http://svn.boost.org/trac/boost/changeset/77216
Log:
tools: do not apply -m32 for gcc on ARM
Text files modified:
trunk/tools/build/v2/tools/gcc.jam | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/tools/gcc.jam
==============================================================================
--- trunk/tools/build/v2/tools/gcc.jam (original)
+++ trunk/tools/build/v2/tools/gcc.jam 2012-03-04 09:00:26 EST (Sun, 04 Mar 2012)
@@ -446,7 +446,11 @@
}
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 ;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk