]> granicus.if.org Git - clang/commitdiff
add gentoo stable gcc headers path so that all tests pass here (CPATH isnt enough..)
authorNuno Lopes <nunoplopes@sapo.pt>
Sat, 5 Jul 2008 17:15:18 +0000 (17:15 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Sat, 5 Jul 2008 17:15:18 +0000 (17:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53143 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/clang.cpp

index 0c6f30e20aa21006ee26fa7ce3c2c47778c06a80..6efab7486420aa77773f8ae483796ee2de19f706 100644 (file)
@@ -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);