commit | 405327eb40d62d8e05658b1ba95c6a28d4df935e | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Tue Jan 27 19:29:51 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Tue Jan 27 19:29:51 2009 +0000 |
tree | 1c2d6032e2d5683401180d3baff3b9342589b23e | |
parent | aa7d299343061c8c6061ded6a6ae448c7deecf99 [diff] [blame] |
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):