summaryrefslogtreecommitdiffstats
path: root/clang
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
commit88b1d0ee425aaa4ca01e918c079e21fdec820ccd (patch)
tree210f6c8ec8fb083d65712d3077b39d7172dbc792 /clang
parentd27410b580897eba973481858bad9ea827e756d3 (diff)
downloadbcm5719-llvm-88b1d0ee425aaa4ca01e918c079e21fdec820ccd.tar.gz
bcm5719-llvm-88b1d0ee425aaa4ca01e918c079e21fdec820ccd.zip
add gentoo stable gcc headers path so that all tests pass here (CPATH isnt enough..)
llvm-svn: 53143
Diffstat (limited to 'clang')
-rw-r--r--clang/Driver/clang.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 0c6f30e20aa..6efab748642 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud