зеркало из https://github.com/microsoft/clang.git
Set the location of ccc-analyzer to be the same directory as where scan-build
is located. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
06767518f5
Коммит
0b6c153491
|
@ -265,8 +265,6 @@ ENDTEXT
|
|||
print OUT "</table>\n</body></html>\n";
|
||||
close(OUT);
|
||||
|
||||
print "$RealBin\n";
|
||||
|
||||
CopyJS($Dir);
|
||||
}
|
||||
|
||||
|
@ -427,8 +425,11 @@ $HtmlDir = GetHTMLRunDir($HtmlDir);
|
|||
|
||||
SetHtmlEnv(\@ARGV, $HtmlDir);
|
||||
|
||||
my $Cmd = `which ccc-analyzer`;
|
||||
$Cmd =~ s/\015?\012//;
|
||||
my $Cmd = "$RealBin/ccc-analyzer";
|
||||
|
||||
die "$Prog: Executable 'ccc-analyzer' does not exist at '$Cmd'\n"
|
||||
if (! -x $Cmd);
|
||||
|
||||
$ENV{'CC'} = $Cmd;
|
||||
|
||||
if ($Verbose >= 2) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче