add solaris sparcv9 support

* Update bootstrap to recognize the cputype 'sparcv9' (used on Solaris)
* Change to never use -fomit-frame-pointer on Solaris or for sparc
* Adds rust target sparcv9-sun-solaris

Fixes #39901
This commit is contained in:
Shawn Walker-Salas 2017-02-16 21:19:43 -08:00
parent 087c2337c1
commit 2e756e22b3
4 changed files with 47 additions and 1 deletions

View file

@ -416,6 +416,8 @@ class RustBuild(object):
ostype += 'abi64'
elif cputype in {'powerpc', 'ppc', 'ppc64'}:
cputype = 'powerpc'
elif cputype == 'sparcv9':
pass
elif cputype in {'amd64', 'x86_64', 'x86-64', 'x64'}:
cputype = 'x86_64'
else: