Driver: Sketch FreeBSD tool chain.
- Patch by Ed Schouten!
llvm-svn: 68061
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 3f1a72d..a51e4bd 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -999,6 +999,9 @@
if (memcmp(&OS[0], "darwin", 6) == 0)
return createDarwinHostInfo(*this, Arch.c_str(), Platform.c_str(),
OS.c_str());
+ if (memcmp(&OS[0], "freebsd", 7) == 0)
+ return createFreeBSDHostInfo(*this, Arch.c_str(), Platform.c_str(),
+ OS.c_str());
return createUnknownHostInfo(*this, Arch.c_str(), Platform.c_str(),
OS.c_str());