commit | bac51fa0fd4b9adf20d3c4a65bbbb67061fe7266 | [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 | c8e9cd6e32b8987b3c8f2dea1404d8a94768a707 [diff] |
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):