aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 6f75d3e7f9..8df64ea618 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -1169,7 +1169,10 @@ const HostInfo *Driver::GetHostInfo(const char *Triple) const {
if (memcmp(&OS[0], "freebsd", 7) == 0)
return createFreeBSDHostInfo(*this, Arch.c_str(), Platform.c_str(),
OS.c_str());
-
+ if (memcmp(&OS[0], "dragonfly", 9) == 0)
+ return createDragonFlyHostInfo(*this, Arch.c_str(), Platform.c_str(),
+ OS.c_str());
+
return createUnknownHostInfo(*this, Arch.c_str(), Platform.c_str(),
OS.c_str());
}