From df718773f799941e00abfed757ac7aa9ac29e176 Mon Sep 17 00:00:00 2001 From: Sebastian Redl Date: Wed, 1 Jul 2009 18:59:43 +0000 Subject: [PATCH] Add header search path for Gentoo stable, x86_64 version. llvm-svn: 74626 --- clang/lib/Frontend/InitHeaderSearch.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/clang/lib/Frontend/InitHeaderSearch.cpp b/clang/lib/Frontend/InitHeaderSearch.cpp index 7a2b3a7317b4..8c80786210ff 100644 --- a/clang/lib/Frontend/InitHeaderSearch.cpp +++ b/clang/lib/Frontend/InitHeaderSearch.cpp @@ -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);