]> granicus.if.org Git - clang/commitdiff
Add header search path for Gentoo stable, x86_64 version.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Wed, 1 Jul 2009 18:59:43 +0000 (18:59 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Wed, 1 Jul 2009 18:59:43 +0000 (18:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74626 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/InitHeaderSearch.cpp

index 7a2b3a7317b4741bc9aebb76ac78cf81161684a3..8c80786210ff379b3561ddf7b94006d375781777 100644 (file)
@@ -178,6 +178,14 @@ void InitHeaderSearch::AddDefaultSystemIncludePaths(const LangOptions &Lang) {
     AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/backward",
             System, true, false, false);
 
+    // Gentoo amd64 stable
+    AddPath("/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4", System,
+            true, false, false);
+    AddPath("/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/"
+            "i686-pc-linux-gnu", System, true, false, false);
+    AddPath("/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/backward",
+            System, true, false, false);
+
     // DragonFly
     AddPath("/usr/include/c++/4.1", System, true, false, false);