From: Benjamin Kramer Date: Fri, 30 Oct 2009 12:57:13 +0000 (+0000) Subject: Add C++ include paths for Exherbo. Patch by Daniel Mierswa! X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d7a188cbc66d0af5aa3c135942a9e4aa7cb69f9;p=clang Add C++ include paths for Exherbo. Patch by Daniel Mierswa! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85588 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/InitHeaderSearch.cpp b/lib/Frontend/InitHeaderSearch.cpp index b0d4c5b663..c0b4ebaab0 100644 --- a/lib/Frontend/InitHeaderSearch.cpp +++ b/lib/Frontend/InitHeaderSearch.cpp @@ -406,6 +406,17 @@ void InitHeaderSearch::AddDefaultCPlusPlusIncludePaths(const llvm::Triple &tripl "i686-pc-linux-gnu", "i686-pc-linux-gnu", triple); + // Exherbo (2009-10-26) + AddGnuCPlusPlusIncludePaths( + "/usr/include/c++/4.4.2", + "x86_64-pc-linux-gnu/32", + "x86_64-pc-linux-gnu", + triple); + AddGnuCPlusPlusIncludePaths( + "/usr/include/c++/4.4.2", + "i686-pc-linux-gnu", + "i686-pc-linux-gnu", + triple); break; case llvm::Triple::FreeBSD: // DragonFly