Rollup merge of #41152 - cuviper:bootstrap-armv7, r=japaric
bootstrap.py: fix armv7 detection
This matches the logic that was in `./configure` before f8ca805422
.
This commit is contained in:
commit
c04b39f1f8
1 changed files with 2 additions and 2 deletions
|
@ -472,10 +472,10 @@ class RustBuild(object):
|
||||||
cputype = 'i686'
|
cputype = 'i686'
|
||||||
elif cputype in {'xscale', 'arm'}:
|
elif cputype in {'xscale', 'arm'}:
|
||||||
cputype = 'arm'
|
cputype = 'arm'
|
||||||
elif cputype in {'armv6l', 'armv7l', 'armv8l'}:
|
elif cputype == 'armv6l':
|
||||||
cputype = 'arm'
|
cputype = 'arm'
|
||||||
ostype += 'eabihf'
|
ostype += 'eabihf'
|
||||||
elif cputype == 'armv7l':
|
elif cputype in {'armv7l', 'armv8l'}:
|
||||||
cputype = 'armv7'
|
cputype = 'armv7'
|
||||||
ostype += 'eabihf'
|
ostype += 'eabihf'
|
||||||
elif cputype == 'aarch64':
|
elif cputype == 'aarch64':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue