|
Boost-Commit : |
From: kbelco_at_[hidden]
Date: 2007-09-24 23:39:13
Author: noel_belcourt
Date: 2007-09-24 23:39:06 EDT (Mon, 24 Sep 2007)
New Revision: 39518
URL: http://svn.boost.org/trac/boost/changeset/39518
Log:
Get pic and threading working with pathscale.
Text files modified:
trunk/tools/build/v2/tools/pathscale.jam | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Modified: trunk/tools/build/v2/tools/pathscale.jam
==============================================================================
--- trunk/tools/build/v2/tools/pathscale.jam (original)
+++ trunk/tools/build/v2/tools/pathscale.jam 2007-09-24 23:39:06 EDT (Mon, 24 Sep 2007)
@@ -52,6 +52,7 @@
# Declare flags and actions for compilation
flags pathscale.compile OPTIONS <debug-symbols>on : -g ;
flags pathscale.compile OPTIONS <profiling>on : -pg ;
+flags pathscale.compile OPTIONS <link>shared : -fPIC ;
flags pathscale.compile OPTIONS <optimization>speed : -O2 ;
flags pathscale.compile OPTIONS <optimization>space : -Os ;
flags pathscale.compile OPTIONS <address-model>32 : -m32 ;
@@ -61,8 +62,6 @@
flags pathscale.compile OPTIONS <warnings>on : -Wall ;
flags pathscale.compile OPTIONS <warnings>all : -Wall ;
-# flags pathscale.compile OPTIONS <threading>multi : -mt ;
-
flags pathscale.compile.c++ OPTIONS <inlining>off : -noinline ;
flags pathscale.compile OPTIONS <cflags> ;
@@ -108,11 +107,11 @@
# Strip the binary when no debugging is needed
flags pathscale.link OPTIONS <debug-symbols>off : -g0 ;
flags pathscale.link OPTIONS <profiling>on : -pg ;
-# flags pathscale.link OPTIONS <threading>multi : -mt ;
flags pathscale.link OPTIONS <linkflags> ;
flags pathscale.link LINKPATH <library-path> ;
flags pathscale.link FINDLIBS-ST <find-static-library> ;
flags pathscale.link FINDLIBS-SA <find-shared-library> ;
+flags pathscale.link FINDLIBS-SA <threading>multi : pthread ;
flags pathscale.link LIBRARIES <library-file> ;
flags pathscale.link LINK-RUNTIME <runtime-link>static : static ;
flags pathscale.link LINK-RUNTIME <runtime-link>shared : dynamic ;
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