Add header search paths for dragonfly, patch by Sascha Wildner!

llvm-svn: 55242
This commit is contained in:
Chris Lattner 2008-08-23 18:25:07 +00:00
parent 5637ef5fce
commit 22a4aee8e3
1 changed files with 6 additions and 0 deletions

View File

@ -141,6 +141,9 @@ void InitHeaderSearch::AddDefaultSystemIncludePaths(const LangOptions &Lang) {
AddPath("/usr/include/c++/4.3.1/backward", System, true, false, false);
AddPath("/usr/include/c++/4.3.1/x86_64-unknown-linux-gnu", System, true,
false, false);
// DragonFly
AddPath("/usr/include/c++/4.1", System, true, false, false);
}
AddPath("/usr/local/include", System, false, false, false);
@ -206,6 +209,9 @@ void InitHeaderSearch::AddDefaultSystemIncludePaths(const LangOptions &Lang) {
AddPath("/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include", System,
false, false, false);
// DragonFly
AddPath("/usr/libdata/gcc41", System, true, false, false);
AddPath("/usr/include", System, false, false, false);
AddPath("/System/Library/Frameworks", System, true, false, true);
AddPath("/Library/Frameworks", System, true, false, true);