Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71622 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2011-04-30 09:19:28


Author: vladimir_prus
Date: 2011-04-30 09:19:28 EDT (Sat, 30 Apr 2011)
New Revision: 71622
URL: http://svn.boost.org/trac/boost/changeset/71622

Log:
Set -fPIC for assembler complications, if necessary.

Fixes #5508.

Text files modified:
   trunk/tools/build/v2/tools/gcc.jam | 1 +
   1 files changed, 1 insertions(+), 0 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-04-30 09:19:28 EDT (Sat, 30 Apr 2011)
@@ -620,6 +620,7 @@
 
 rule compile.asm ( targets * : sources * : properties * )
 {
+ setup-fpic $(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