From 0b797b1c9d2b58ec390dc0c440427ff586b93e07 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sun, 26 Jul 2009 16:14:05 +0000 Subject: [PATCH] add gentoo 2009.0 g++ header locations llvm-svn: 77158 --- clang/lib/Frontend/InitHeaderSearch.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/clang/lib/Frontend/InitHeaderSearch.cpp b/clang/lib/Frontend/InitHeaderSearch.cpp index 8c80786210ff..a134c0dd15d9 100644 --- a/clang/lib/Frontend/InitHeaderSearch.cpp +++ b/clang/lib/Frontend/InitHeaderSearch.cpp @@ -170,7 +170,15 @@ void InitHeaderSearch::AddDefaultSystemIncludePaths(const LangOptions &Lang) { AddPath("/usr/include/c++/4.3.1/x86_64-unknown-linux-gnu", System, true, false, false); - // Gentoo x86 stable + // Gentoo x86 2009.0 stable + AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4", System, + true, false, false); + AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/" + "i686-pc-linux-gnu", System, true, false, false); + AddPath(" /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/backward", + System, true, false, false); + + // Gentoo x86 2008.0 stable AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4", System, true, false, false); AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/"