зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
c8e9cd6e32
Коммит
bac51fa0fd
|
@ -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):
|
||||
|
|
Загрузка…
Ссылка в новой задаче