Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-01-06 15:06:34


Author: jurko
Date: 2008-01-06 15:06:33 EST (Sun, 06 Jan 2008)
New Revision: 42546
URL: http://svn.boost.org/trac/boost/changeset/42546

Log:
Corrected a bug with the customized default toolset being read from the toolset module but defined in the build-system module. Effect was that customized default toolsets were getting ignored.
Text files modified:
   trunk/tools/build/v2/build-system.jam | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/build-system.jam
==============================================================================
--- trunk/tools/build/v2/build-system.jam (original)
+++ trunk/tools/build/v2/build-system.jam 2008-01-06 15:06:33 EST (Sun, 06 Jan 2008)
@@ -509,12 +509,11 @@
     # the default toolset.
     if ! $(.legacy-ignore-config) && ! [ feature.values <toolset> ]
     {
- local default-toolset = [ modules.peek toolset : .default-toolset ] ;
+ local default-toolset = $(.default-toolset) ;
         local default-toolset-version = ;
         if $(default-toolset)
         {
- default-toolset-version =
- [ modules.peek toolset : .default-toolset-version ] ;
+ default-toolset-version = $(.default-toolset-version) ;
         }
         else
         {


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