Skip to content

Commit c04b39f

Browse files
authored
Rollup merge of rust-lang#41152 - cuviper:bootstrap-armv7, r=japaric
bootstrap.py: fix armv7 detection This matches the logic that was in `./configure` before f8ca805.
2 parents d6c1773 + 5c0c3e8 commit c04b39f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/bootstrap/bootstrap.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -472,10 +472,10 @@ def build_triple(self):
472472
cputype = 'i686'
473473
elif cputype in {'xscale', 'arm'}:
474474
cputype = 'arm'
475-
elif cputype in {'armv6l', 'armv7l', 'armv8l'}:
475+
elif cputype == 'armv6l':
476476
cputype = 'arm'
477477
ostype += 'eabihf'
478-
elif cputype == 'armv7l':
478+
elif cputype in {'armv7l', 'armv8l'}:
479479
cputype = 'armv7'
480480
ostype += 'eabihf'
481481
elif cputype == 'aarch64':

0 commit comments

Comments
 (0)