blob: e1c65480ce2fcb8dbd5460f18bba521a751c857a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- tools/clang/tools/scan-build/libexec/ccc-analyzer.orig
+++ tools/clang/tools/scan-build/libexec/ccc-analyzer
@@ -81,6 +81,9 @@
if (-x "/usr/bin/xcrun") {
$UseXCRUN = 1;
}
+} elsif (`uname -s` eq "FreeBSD\n") {
+ $DefaultCCompiler = 'cc';
+ $DefaultCXXCompiler = 'c++';
} else {
$DefaultCCompiler = 'gcc';
$DefaultCXXCompiler = 'g++';
|