[cfe-commits] r55242 - /cfe/trunk/lib/Driver/InitHeaderSearch.cpp

Chris Lattner sabre at nondot.org
Sat Aug 23 11:25:07 PDT 2008


Author: lattner
Date: Sat Aug 23 13:25:07 2008
New Revision: 55242

URL: http://llvm.org/viewvc/llvm-project?rev=55242&view=rev
Log:
Add header search paths for dragonfly, patch by Sascha Wildner!

Modified:
    cfe/trunk/lib/Driver/InitHeaderSearch.cpp

Modified: cfe/trunk/lib/Driver/InitHeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/InitHeaderSearch.cpp?rev=55242&r1=55241&r2=55242&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Driver/InitHeaderSearch.cpp Sat Aug 23 13:25:07 2008
@@ -141,6 +141,9 @@
     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 @@
   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);





More information about the cfe-commits mailing list