Patch by Anders Bergh:

'There's not much to say about this patch, it just adds the Arch Linux
gcc 4.3.1 header paths for i686 and amd64. The patch was generated
using "svn diff" with clang at revision 52660. The paths aren't
distribution-specific, so they should work for all Linux distributions
using the default(?) names like "i686-pc-linux-gnu".'

llvm-svn: 52665
This commit is contained in:
Ted Kremenek 2008-06-24 03:33:47 +00:00
parent 4aef821183
commit 675a6e6dfa
1 changed files with 19 additions and 0 deletions

View File

@ -990,6 +990,15 @@ static void InitializeIncludePaths(const char *Argv0, HeaderSearch &Headers,
false, Headers);
AddPath("/usr/include/c++/4.1.2/backward", System, true, false, false,
Headers);
// Arch Linux 2008-06-24
AddPath("/usr/include/c++/4.3.1", System, true, false, false, Headers);
AddPath("/usr/include/c++/4.3.1/i686-pc-linux-gnu", System, true, false,
false, Headers);
AddPath("/usr/include/c++/4.3.1/backward", System, true, false, false,
Headers);
AddPath("/usr/include/c++/4.3.1/x86_64-unknown-linux-gnu", System, true,
false, false, Headers);
}
AddPath("/usr/local/include", System, false, false, false, Headers);
@ -1033,6 +1042,16 @@ static void InitializeIncludePaths(const char *Argv0, HeaderSearch &Headers,
AddPath("/usr/lib/gcc/x86_64-linux-gnu/4.2.3/include", System,
false, false, false, Headers);
// Arch Linux 2008-06-24
AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include", System,
false, false, false, Headers);
AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include-fixed", System,
false, false, false, Headers);
AddPath("/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/include", System,
false, false, false, Headers);
AddPath("/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/include-fixed",
System, false, false, false, Headers);
AddPath("/usr/include", System, false, false, false, Headers);
AddPath("/System/Library/Frameworks", System, true, false, true, Headers);
AddPath("/Library/Frameworks", System, true, false, true, Headers);