about summary refs log tree commit diff
path: root/src/bootstrap/bootstrap.py
diff options
context:
space:
mode:
authorShawn Walker-Salas <shawn.walker@oracle.com>2017-02-16 21:19:43 -0800
committerShawn Walker-Salas <shawn.walker@oracle.com>2017-02-16 21:40:14 -0800
commit2e756e22b3d5ffcb9cf8b199796ecb35cfc7b415 (patch)
tree50b3ee502357f3b8912077327bf28c74c2149b92 /src/bootstrap/bootstrap.py
parent087c2337c156af2f7e408145737b2415e66693da (diff)
downloadrust-2e756e22b3d5ffcb9cf8b199796ecb35cfc7b415.tar.gz
rust-2e756e22b3d5ffcb9cf8b199796ecb35cfc7b415.zip
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
Diffstat (limited to 'src/bootstrap/bootstrap.py')
-rw-r--r--src/bootstrap/bootstrap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index ee3f663dbd5..127369a4b77 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -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: