--- clang/tools/scan-build/libexec/ccc-analyzer.orig +++ clang/tools/scan-build/libexec/ccc-analyzer @@ -80,7 +80,7 @@ if (-x "/usr/bin/xcrun") { $UseXCRUN = 1; } -} elsif (`uname -a` =~ m/OpenBSD/) { +} elsif (`uname -a` =~ m/(FreeBSD|OpenBSD)/) { $DefaultCCompiler = 'cc'; $DefaultCXXCompiler = 'c++'; } else {