|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50171 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2008-12-07 03:02:48
Author: vladimir_prus
Date: 2008-12-07 03:02:47 EST (Sun, 07 Dec 2008)
New Revision: 50171
URL: http://svn.boost.org/trac/boost/changeset/50171
Log:
Revive threading support for intel-linux.
Text files modified:
trunk/tools/build/v2/tools/intel-linux.jam | 16 ++++++++++++++++
1 files changed, 16 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-12-07 03:02:47 EST (Sun, 07 Dec 2008)
@@ -81,6 +81,7 @@
rule compile.c++ ( targets * : sources * : properties * )
{
+ gcc.setup-threading $(targets) : $(sources) : $(properties) ;
gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
}
@@ -91,6 +92,7 @@
rule compile.c ( targets * : sources * : properties * )
{
+ gcc.setup-threading $(targets) : $(sources) : $(properties) ;
gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
}
@@ -99,11 +101,25 @@
"$(CONFIG_COMMAND)" -c -xc $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
}
+rule link ( targets * : sources * : properties * )
+{
+ gcc.setup-threading $(targets) : $(sources) : $(properties) ;
+ SPACE on $(targets) = " " ;
+ JAM_SEMAPHORE on $(targets) = <s>gcc-link-semaphore ;
+}
+
actions link bind LIBRARIES
{
"$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,-R$(SPACE)-Wl,"$(RPATH)" -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(OPTIONS)
}
+rule link.dll ( targets * : sources * : properties * )
+{
+ gcc.setup-threading $(targets) : $(sources) : $(properties) ;
+ SPACE on $(targets) = " " ;
+ JAM_SEMAPHORE on $(targets) = <s>gcc-link-semaphore ;
+}
+
# Differ from 'link' above only by -shared.
actions link.dll bind LIBRARIES
{
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