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:
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user