From 045d833d72dc419adddcf4c24cf8b9448e467c00 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 3 May 2008 03:42:08 +0000 Subject: [PATCH] Fix running -dumpversion when g++ command is multi-part. [SVN r45056] --- v2/tools/darwin.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/tools/darwin.jam b/v2/tools/darwin.jam index f1f9ae511..f62bd1d2b 100644 --- a/v2/tools/darwin.jam +++ b/v2/tools/darwin.jam @@ -50,7 +50,7 @@ rule init ( version ? : command * : options * : requirement * ) 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 ;