meson: Use assembly stubs on ARMv6.

Change the ARM version macro check in the meson file so that it'll look
for __ARM_ARCH_6__ or an __ARM_ARCH value >= 6.
This commit is contained in:
Kyle Brenneman 2022-05-31 15:50:36 -06:00
parent d853cf56f8
commit b90f235998
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ if not with_asm.disabled()
|| defined(__ARM_ARCH_7R__) \
|| defined(__ARM_ARCH_7M__) \
|| defined(__ARM_ARCH_7S__) \
|| (defined(__ARM_ARCH) && __ARM_ARCH >= 7))
|| defined(__ARM_ARCH_6__) \
|| (defined(__ARM_ARCH) && __ARM_ARCH >= 6))
#error "Not ARM7"
#endif
''', name : 'ARMv7 macros')