|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49504 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2008-11-01 04:21:57
Author: vladimir_prus
Date: 2008-11-01 04:21:56 EDT (Sat, 01 Nov 2008)
New Revision: 49504
URL: http://svn.boost.org/trac/boost/changeset/49504
Log:
Properly set threading options when compiling PCH.
Bug report from Jeroen van der Wulp.
Text files modified:
trunk/tools/build/v2/tools/gcc.jam | 4 ++++
1 files changed, 4 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 2008-11-01 04:21:56 EDT (Sat, 01 Nov 2008)
@@ -34,6 +34,7 @@
feature.extend toolset : gcc ;
+# feature.subfeature toolset gcc : flavor : : optional ;
toolset.inherit-generators gcc : unix : unix.link unix.link.dll ;
toolset.inherit-flags gcc : unix ;
@@ -130,6 +131,7 @@
condition = [ common.check-init-parameters gcc
: version $(version)
] ;
+ condition = $(condition) ; #/<toolset-gcc:flavor> ;
}
common.handle-options gcc : $(condition) : $(command) : $(options) ;
@@ -360,6 +362,7 @@
rule compile.c++.pch ( targets * : sources * : properties * )
{
+ setup-threading $(targets) : $(sources) : $(properties) ;
setup-fpic $(targets) : $(sources) : $(properties) ;
}
@@ -370,6 +373,7 @@
rule compile.c.pch ( targets * : sources * : properties * )
{
+ setup-threading $(targets) : $(sources) : $(properties) ;
setup-fpic $(targets) : $(sources) : $(properties) ;
}
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