--- tools/clang/tools/scan-build/ccc-analyzer.orig 2014-08-12 05:38:53 UTC +++ tools/clang/tools/scan-build/ccc-analyzer @@ -42,7 +42,7 @@ my $DefaultCCompiler; my $DefaultCXXCompiler; my $IsCXX; -if (`uname -a` =~ m/Darwin/) { +if (`uname -a` =~ m/(Darwin|BSDSUniX|FreeBSD)/) { $DefaultCCompiler = 'clang'; $DefaultCXXCompiler = 'clang++'; } else {