aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/HostInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/HostInfo.cpp')
-rw-r--r--lib/Driver/HostInfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp
index a1dc1496ac..5f2460f209 100644
--- a/lib/Driver/HostInfo.cpp
+++ b/lib/Driver/HostInfo.cpp
@@ -106,13 +106,13 @@ ToolChain *DarwinHostInfo::getToolChain(const ArgList &Args,
ToolChain *&TC = ToolChains[ArchName];
if (!TC) {
if (strcmp(ArchName, "i386") == 0 || strcmp(ArchName, "x86_64") == 0)
- TC = new toolchains::Generic_GCC(*this, ArchName,
- getPlatformName().c_str(),
- getOSName().c_str());
+ TC = new toolchains::Darwin_X86(*this, ArchName,
+ getPlatformName().c_str(),
+ getOSName().c_str());
else
- TC = new toolchains::Generic_GCC(*this, ArchName,
- getPlatformName().c_str(),
- getOSName().c_str());
+ TC = new toolchains::Darwin_GCC(*this, ArchName,
+ getPlatformName().c_str(),
+ getOSName().c_str());
}
return TC;