bootstrap: Add missing cputype matching for sparc

This commit is contained in:
John Paul Adrian Glaubitz 2018-02-17 15:29:11 +01:00
parent 928435305a
commit a895d438c2
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ def default_build_triple():
raise ValueError('unknown byteorder: {}'.format(sys.byteorder))
# only the n64 ABI is supported, indicate it
ostype += 'abi64'
elif cputype == 'sparcv9' or cputype == 'sparc64':
elif cputype == 'sparc' or cputype == 'sparcv9' or cputype == 'sparc64':
pass
else:
err = "unknown cpu type: {}".format(cputype)