ccc: Normalize machine name to i386 for platforms which report the
machine as x86_64.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63122 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/ccc/ccclib/Driver.py b/tools/ccc/ccclib/Driver.py
index 0fe5806..095745f 100644
--- a/tools/ccc/ccclib/Driver.py
+++ b/tools/ccc/ccclib/Driver.py
@@ -52,6 +52,8 @@
         # Normalize names.
         if machine == 'Power Macintosh':
             return 'ppc'
+        if machine == 'x86_64':
+            return 'i386'
         return machine
 
     def getHostSystemName(self):