mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 09:00:33 -04:00
In the LLVM port the option to build cmake support files is disabled by default because it fails to configure when built with gcc47. The Clang port is marked broken if the compiler isn't clang due to link errors when it is gcc47.
15 lines
811 B
C++
15 lines
811 B
C++
Look for the libc++ headers in base, and afterwards look if they might
|
|
have been installed in ports. This is only usefull on FreeBSD <= 9.x since
|
|
libc++ is shipped in 10 by default. No path to the library of libc++ is
|
|
provided. The port wanting to use libc++ need to provide its own LDFLAGS.
|
|
|
|
--- tools/clang/lib/Frontend/InitHeaderSearch.cpp.orig 2013-06-21 20:35:23.000000000 +0200
|
|
+++ tools/clang/lib/Frontend/InitHeaderSearch.cpp 2013-06-21 20:41:38.000000000 +0200
|
|
@@ -486,6 +486,7 @@ void InitHeaderSearch::AddDefaultInclude
|
|
AddPath("/usr/include/c++/v1/support/solaris", CXXSystem, false);
|
|
|
|
AddPath("/usr/include/c++/v1", CXXSystem, false);
|
|
+ AddPath("/usr/local/include/c++/v1", CXXSystem, false);
|
|
} else {
|
|
AddDefaultCPlusPlusIncludePaths(triple, HSOpts);
|
|
}
|