зеркало из https://github.com/microsoft/clang-1.git
Update driver include paths to work on darwin10.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
6d1e4b5e7e
Коммит
1d3cce3e1c
|
@ -951,6 +951,12 @@ static void InitializeIncludePaths(const char *Argv0, HeaderSearch &Headers,
|
|||
// FIXME: get these from the target?
|
||||
if (!nostdinc) {
|
||||
if (Lang.CPlusPlus) {
|
||||
AddPath("/usr/include/c++/4.2.1", System, true, false, false, Headers);
|
||||
AddPath("/usr/include/c++/4.2.1/i686-apple-darwin10", System, true, false,
|
||||
false, Headers);
|
||||
AddPath("/usr/include/c++/4.2.1/backward", System, true, false, false,
|
||||
Headers);
|
||||
|
||||
AddPath("/usr/include/c++/4.0.0", System, true, false, false, Headers);
|
||||
AddPath("/usr/include/c++/4.0.0/i686-apple-darwin8", System, true, false,
|
||||
false, Headers);
|
||||
|
@ -973,6 +979,12 @@ static void InitializeIncludePaths(const char *Argv0, HeaderSearch &Headers,
|
|||
}
|
||||
|
||||
AddPath("/usr/local/include", System, false, false, false, Headers);
|
||||
|
||||
AddPath("/usr/lib/gcc/i686-apple-darwin10/4.2.1/include", System,
|
||||
false, false, false, Headers);
|
||||
AddPath("/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/include",
|
||||
System, false, false, false, Headers);
|
||||
|
||||
// leopard
|
||||
AddPath("/usr/lib/gcc/i686-apple-darwin9/4.0.1/include", System,
|
||||
false, false, false, Headers);
|
||||
|
|
Загрузка…
Ссылка в новой задаче