[cfe-commits] r63122 - /cfe/trunk/tools/ccc/ccclib/Driver.py
Daniel Dunbar
daniel at zuster.org
Tue Jan 27 11:29:51 PST 2009
Author: ddunbar
Date: Tue Jan 27 13:29:51 2009
New Revision: 63122
URL: http://llvm.org/viewvc/llvm-project?rev=63122&view=rev
Log:
ccc: Normalize machine name to i386 for platforms which report the
machine as x86_64.
Modified:
cfe/trunk/tools/ccc/ccclib/Driver.py
Modified: cfe/trunk/tools/ccc/ccclib/Driver.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Driver.py?rev=63122&r1=63121&r2=63122&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Driver.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Driver.py Tue Jan 27 13:29:51 2009
@@ -52,6 +52,8 @@
# Normalize names.
if machine == 'Power Macintosh':
return 'ppc'
+ if machine == 'x86_64':
+ return 'i386'
return machine
def getHostSystemName(self):
More information about the cfe-commits
mailing list