]> granicus.if.org Git - clang/commitdiff
Add header search paths for dragonfly, patch by Sascha Wildner!
authorChris Lattner <sabre@nondot.org>
Sat, 23 Aug 2008 18:25:07 +0000 (18:25 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 23 Aug 2008 18:25:07 +0000 (18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55242 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/InitHeaderSearch.cpp

index 7fd36f80e97f2eb56ae6e117ef2f423cd60a86cd..ccfea313495db030b4b57f57872b55b99bb5fe1d 100644 (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);