[PATCH] D114530: [clang][scan-build] Use cc/c++ instead of gcc/g++ on FreeBSD.
Frederic Cambus via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 2 02:53:20 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG69deb1371fd4: Use cc/c++ instead of gcc/g++ on FreeBSD. (authored by fcambus).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114530/new/
https://reviews.llvm.org/D114530
Files:
clang/tools/scan-build/libexec/ccc-analyzer
Index: clang/tools/scan-build/libexec/ccc-analyzer
===================================================================
--- clang/tools/scan-build/libexec/ccc-analyzer
+++ clang/tools/scan-build/libexec/ccc-analyzer
@@ -80,7 +80,7 @@
if (-x "/usr/bin/xcrun") {
$UseXCRUN = 1;
}
-} elsif (`uname -s` =~ m/OpenBSD/) {
+} elsif (`uname -s` =~ m/(FreeBSD|OpenBSD)/) {
$DefaultCCompiler = 'cc';
$DefaultCXXCompiler = 'c++';
} else {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114530.391265.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211202/63f61b57/attachment.bin>
More information about the cfe-commits
mailing list