Driver: Add two normalizations for powerpc.
- PR3830
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67166 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 84f3428..b41c2fa 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -860,6 +860,8 @@
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(),