--- tools/clang/tools/scan-build/ccc-analyzer.orig +++ tools/clang/tools/scan-build/ccc-analyzer @@ -30,7 +30,7 @@ my $DefaultCCompiler; my $DefaultCXXCompiler; -if (`uname -a` =~ m/Darwin/) { +if (`uname -a` =~ m/(Darwin|FreeBSD)/) { $DefaultCCompiler = 'clang'; $DefaultCXXCompiler = 'clang++'; } else {