Skip to content

Commit 5c0c3e8

Browse files
committed
bootstrap.py: fix armv7 detection
This matches the logic that was in `./configure` before f8ca805.
1 parent 2564711 commit 5c0c3e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/bootstrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,10 @@ def build_triple(self):
463463
cputype = 'i686'
464464
elif cputype in {'xscale', 'arm'}:
465465
cputype = 'arm'
466-
elif cputype in {'armv6l', 'armv7l', 'armv8l'}:
466+
elif cputype == 'armv6l':
467467
cputype = 'arm'
468468
ostype += 'eabihf'
469-
elif cputype == 'armv7l':
469+
elif cputype in {'armv7l', 'armv8l'}:
470470
cputype = 'armv7'
471471
ostype += 'eabihf'
472472
elif cputype == 'aarch64':

0 commit comments

Comments
 (0)