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.
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_FILEvalue here so try-compile will only ever use the default behavior.I already have the fix for this, just filing for visibility.