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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 84f3428c62..b41c2fa96e 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -860,6 +860,8 @@ const HostInfo *Driver::GetHostInfo(const char *Triple) const {
Arch = "i386";
else if (Arch == "amd64")
Arch = "x86_64";
+ else if (Arch == "powerpc" || Arch == "Power Macintosh")
+ Arch = "ppc";
if (memcmp(&OS[0], "darwin", 6) == 0)
return createDarwinHostInfo(*this, Arch.c_str(), Platform.c_str(),