Skip to content

Commit

Permalink
Rollup merge of rust-lang#41152 - cuviper:bootstrap-armv7, r=japaric
Browse files Browse the repository at this point in the history
bootstrap.py: fix armv7 detection

This matches the logic that was in `./configure` before f8ca805.
  • Loading branch information
TimNN committed Apr 8, 2017
2 parents d6c1773 + 5c0c3e8 commit c04b39f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,10 @@ def build_triple(self):
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':
Expand Down

0 comments on commit c04b39f

Please sign in to comment.