Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49357 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2008-10-16 07:09:46


Author: vladimir_prus
Date: 2008-10-16 07:09:46 EDT (Thu, 16 Oct 2008)
New Revision: 49357
URL: http://svn.boost.org/trac/boost/changeset/49357

Log:
Properly add -fPIC on intel-linux.

Text files modified:
   trunk/tools/build/v2/tools/intel-linux.jam | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/tools/intel-linux.jam
==============================================================================
--- trunk/tools/build/v2/tools/intel-linux.jam (original)
+++ trunk/tools/build/v2/tools/intel-linux.jam 2008-10-16 07:09:46 EDT (Thu, 16 Oct 2008)
@@ -79,11 +79,21 @@
 flags intel-linux.compile OPTIONS <warnings>on : -w1 ;
 flags intel-linux.compile OPTIONS <warnings>all : -w2 ;
 
+rule compile.c++ ( targets * : sources * : properties * )
+{
+ gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
+}
+
 actions compile.c++
 {
     "$(CONFIG_COMMAND)" -c -xc++ $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
 }
 
+rule compile.c++ ( targets * : sources * : properties * )
+{
+ gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
+}
+
 actions compile.c
 {
     "$(CONFIG_COMMAND)" -c -xc $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"


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