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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp
index daac0cb0b6..831e11b98e 100644
--- a/lib/Driver/HostInfo.cpp
+++ b/lib/Driver/HostInfo.cpp
@@ -122,7 +122,7 @@ ToolChain *DarwinHostInfo::getToolChain(const ArgList &Args,
// the ID based Triple interface.
if (Arch == "ppc")
Arch = "powerpc";
- else if (Arch == "powerpc")
+ else if (Arch == "ppc64")
Arch = "powerpc64";
} else {
// Otherwise default to the arch of the host.