forked from OSchip/llvm-project
[analyzer] Include a couple more comments on using xcrun to query the SDK.
llvm-svn: 225039
This commit is contained in:
parent
398f46f8f2
commit
67978556a5
|
@ -41,11 +41,15 @@ my $Clang;
|
|||
my $DefaultCCompiler;
|
||||
my $DefaultCXXCompiler;
|
||||
my $IsCXX;
|
||||
|
||||
# If on OSX, use xcrun to determine the SDK root.
|
||||
my $UseXCRUN = 0;
|
||||
|
||||
if (`uname -a` =~ m/Darwin/) {
|
||||
$DefaultCCompiler = 'clang';
|
||||
$DefaultCXXCompiler = 'clang++';
|
||||
# Older versions of OSX do not have xcrun to
|
||||
# query the SDK location.
|
||||
if (-x "/usr/bin/xcrun") {
|
||||
$UseXCRUN = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue