Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix redefinition of
CONF_ARCH_STRING
for ARM architectures
The macro `__ARM_ARCH` is defined both for 32-bit and 64-bit ARM so it cannot be used to identify ARM64. Now `__ARM_ARCH_ISA_A64` is used instead, which should only be defined for ARM64. This caused a warning due to the macro `CONF_ARCH_STRING` being redefined when compiling for Android. Furthermore, support for detecting big-endian ARM64 with the `__ARM_BIG_ENDIAN` macro is added. See https://developer.arm.com/documentation/dui0774/g/chr1383660321827
- Loading branch information