From: Daniel Dunbar Date: Tue, 27 Jan 2009 19:29:51 +0000 (+0000) Subject: ccc: Normalize machine name to i386 for platforms which report the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bac51fa0fd4b9adf20d3c4a65bbbb67061fe7266;p=clang 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 0fe58068ae..095745facc 100644 --- a/tools/ccc/ccclib/Driver.py +++ b/tools/ccc/ccclib/Driver.py @@ -52,6 +52,8 @@ class Driver(object): # Normalize names. if machine == 'Power Macintosh': return 'ppc' + if machine == 'x86_64': + return 'i386' return machine def getHostSystemName(self):