bootstrap.py: fix armv7 detection

This matches the logic that was in `./configure` before f8ca805422.
This commit is contained in:
Josh Stone 2017-04-07 17:16:52 -07:00
parent 2564711e80
commit 5c0c3e803d

View file

@ -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':