2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Fix running -dumpversion when g++ command is multi-part.

[SVN r45056]
This commit is contained in:
Rene Rivera
2008-05-03 03:42:08 +00:00
parent d0dca6c378
commit 045d833d72

View File

@@ -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 ;