Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2008-05-02 23:42:09


Author: grafik
Date: 2008-05-02 23:42:08 EDT (Fri, 02 May 2008)
New Revision: 45056
URL: http://svn.boost.org/trac/boost/changeset/45056

Log:
Fix running -dumpversion when g++ command is multi-part.
Text files modified:
   trunk/tools/build/v2/tools/darwin.jam | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/darwin.jam
==============================================================================
--- trunk/tools/build/v2/tools/darwin.jam (original)
+++ trunk/tools/build/v2/tools/darwin.jam 2008-05-02 23:42:08 EDT (Fri, 02 May 2008)
@@ -50,7 +50,7 @@
     common.handle-options darwin : $(condition) : $(command) : $(options) ;
     
     # GCC 4.0 and higher in Darwin does not have -fcoalesce-templates.
- local gccversion = [ SHELL "$(command) -dumpversion" ] ;
+ local gccversion = [ SHELL "$(command:J= ) -dumpversion" ] ;
     if $(gccversion) < "4.0.0"
     {
         flags darwin.compile.c++ OPTIONS $(condition) : -fcoalesce-templates ;


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