mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 12:42:11 +00:00
Use common.get-invocation-command
[SVN r23165]
This commit is contained in:
@@ -31,8 +31,8 @@ type.set-generated-target-suffix STATIC_LIB : <toolset>gcc : a ;
|
||||
rule init ( version ? : command ? )
|
||||
{
|
||||
local condition = [ common.check-init-parameters gcc : version $(version) ] ;
|
||||
|
||||
command ?= "g++" ;
|
||||
|
||||
local command = [ common.get-invocation-command gcc : g++ : $(command) ] ;
|
||||
|
||||
flags gcc CONFIG_COMMAND $(condition) : $(command) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user