Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69123 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2011-02-21 12:32:41


Author: vladimir_prus
Date: 2011-02-21 12:32:38 EST (Mon, 21 Feb 2011)
New Revision: 69123
URL: http://svn.boost.org/trac/boost/changeset/69123

Log:
Make address-model affect gcc assembler compilations.

Patch from Gevorg Voskanyan.

Text files modified:
   trunk/tools/build/v2/tools/gcc.jam | 3 ++-
   1 files changed, 2 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 2011-02-21 12:32:38 EST (Mon, 21 Feb 2011)
@@ -575,8 +575,9 @@
   "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
 }
 
-rule compile.asm
+rule compile.asm ( targets * : sources * : properties * )
 {
+ setup-address-model $(targets) : $(sources) : $(properties) ;
     LANG on $(<) = "-x assembler-with-cpp" ;
 }
 


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