Description
CMAKE_ANDROID_ARM_MODE should be ON/OFF per its doc, but the legacy toolchain file will set it to ANDROID_ARM_MODE, which is thumb/arm, so CMAKE_ANDROID_ARM_MODE will always be evaluated as ON.
I'm surprised it's broken since the beginning: https://android-review.googlesource.com/c/platform/ndk/+/360029
I am using a supported NDK
Affected versions
r27, r28, r29