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 ;