mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 18:06:27 -04:00
Notable *port* changes (vs devel/llvm11): - Switch to single llvm-project distfile. This simplifies the port and support for the old style build process is rotting upstream after the mono-repo conversion. - Disable libedit dependency in libLLVM (still used by LLDB). This is one small step toward a dependency-less clang. - LLDB docs are disabled due to issues finding python includes when autogenerating API docs. Sponsored by: DARPA
12 lines
346 B
Text
12 lines
346 B
Text
--- clang/tools/scan-build/libexec/ccc-analyzer.orig
|
|
+++ 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++';
|