diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-06-24 03:33:47 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-06-24 03:33:47 +0000 |
commit | 675a6e6dface80c6be68d903ceba78d1bc8c749c (patch) | |
tree | cf5bd8788e8f466b76a530b9c9e83f665d49923e | |
parent | 4aef82118324d9ec176026e5dd14a064bb02dd5b (diff) | |
download | bcm5719-llvm-675a6e6dface80c6be68d903ceba78d1bc8c749c.tar.gz bcm5719-llvm-675a6e6dface80c6be68d903ceba78d1bc8c749c.zip |
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
-rw-r--r-- | clang/Driver/clang.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp index 731c1a838b1..88183850793 100644 --- a/clang/Driver/clang.cpp +++ b/clang/Driver/clang.cpp @@ -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); |