aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2008-07-05 17:15:18 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2008-07-05 17:15:18 +0000
commit68bf38729671679f215e02237847e59716fa25a6 (patch)
treef0d14a8f024271f2a364e3d0920226fd8b09cd46
parentfe5042e287352d00db89508bf3c1373cc44b85db (diff)
add gentoo stable gcc headers path so that all tests pass here (CPATH isnt enough..)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53143 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/clang.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 0c6f30e20a..6efab74864 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1051,6 +1051,10 @@ static void InitializeIncludePaths(const char *Argv0, HeaderSearch &Headers,
AddPath("/usr/lib/gcc/powerpc-linux-gnu/4.2.3/include", System,
false, false, false, Headers);
+ // Gentoo x86 stable
+ AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include", 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);