scan-build: when the build command is 'make', override the CC and CXX options by passing them as arguments to make. This fixes <rdar://problem/6790224>.
llvm-svn: 91179
This commit is contained in:
parent
0910cf54ac
commit
f5303fe492
|
@ -807,6 +807,8 @@ sub RunBuildCommand {
|
|||
}
|
||||
elsif ($IgnoreErrors) {
|
||||
if ($Cmd eq "make" or $Cmd eq "gmake") {
|
||||
AddIfNotPresent($Args, "CC=$CCAnalyzer");
|
||||
AddIfNotPresent($Args, "CXX=$CCAnalyzer");
|
||||
AddIfNotPresent($Args,"-k");
|
||||
AddIfNotPresent($Args,"-i");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue