mirror of
https://github.com/rust-lang/rust
synced 2024-07-21 02:15:40 +00:00
bootstrap.py: fix armv7 detection
This matches the logic that was in `./configure` before f8ca805422
.
This commit is contained in:
parent
2564711e80
commit
5c0c3e803d
|
@ -463,10 +463,10 @@ class RustBuild(object):
|
|||
cputype = 'i686'
|
||||
elif cputype in {'xscale', 'arm'}:
|
||||
cputype = 'arm'
|
||||
elif cputype in {'armv6l', 'armv7l', 'armv8l'}:
|
||||
elif cputype == 'armv6l':
|
||||
cputype = 'arm'
|
||||
ostype += 'eabihf'
|
||||
elif cputype == 'armv7l':
|
||||
elif cputype in {'armv7l', 'armv8l'}:
|
||||
cputype = 'armv7'
|
||||
ostype += 'eabihf'
|
||||
elif cputype == 'aarch64':
|
||||
|
|
Loading…
Reference in a new issue