From: Nuno Lopes Date: Sat, 5 Jul 2008 17:15:18 +0000 (+0000) Subject: add gentoo stable gcc headers path so that all tests pass here (CPATH isnt enough..) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68bf38729671679f215e02237847e59716fa25a6;p=clang 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 --- 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);