Skip to content

[BUG] The legacy toolchain file incorrectly sets CMAKE_ANDROID_ARM_MODE #2222

@FooIbar

Description

@FooIbar

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

  • I have checked and the NDK I'm using is currently supported

Affected versions

r27, r28, r29

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions