Add CC_WRAPPER support

Change-Id: If252c41ec1e3d708f599990c72be69dc8117ae14
This commit is contained in:
Alistair Strachan
2016-08-26 12:55:49 -07:00
committed by Colin Cross
parent 15690c02d6
commit 777475cb48
2 changed files with 8 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ var (
blueprint.RuleParams{
Depfile: "${out}.d",
Deps: blueprint.DepsGCC,
Command: "$relPwd $ccCmd -c $cFlags -MD -MF ${out}.d -o $out $in",
Command: "$relPwd ${config.CcWrapper}$ccCmd -c $cFlags -MD -MF ${out}.d -o $out $in",
CommandDeps: []string{"$ccCmd"},
Description: "cc $out",
},