Skip to content

[BUG] ANDROID_USE_LEGACY_TOOLCHAIN_FILE is not obeyed in try-compile #1573

@DanAlbert

Description

@DanAlbert

https://cs.android.com/android/platform/superproject/+/master-ndk:ndk/build/cmake/android.toolchain.cmake;l=255-268;drc=5bb349589cd7114b6adad1d830a4ca1a10472935 is a list of variables to be preserved for try-compile uses of the toolchain file. We didn't persist the ANDROID_USE_LEGACY_TOOLCHAIN_FILE value here so try-compile will only ever use the default behavior.

I already have the fix for this, just filing for visibility.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions