add c++ search path for GCC 4.2, PR3668, patch by Pawel Worach!

llvm-svn: 65462
This commit is contained in:
Chris Lattner 2009-02-25 18:06:37 +00:00
parent f2f2e7f6a1
commit d92f1bfa11
1 changed files with 3 additions and 1 deletions

View File

@ -171,9 +171,11 @@ 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);
// DragonFly
AddPath("/usr/include/c++/4.1", System, true, false, false);
// FreeBSD
AddPath("/usr/include/c++/4.2", System, true, false, false);
}
AddPath("/usr/local/include", System, false, false, false);