Open
Description
cc
's auto-detection for NDK supplies --target arm-linux-android
instead of something like --target armv7a-linux-androideabi35
, causing the wrong (and non-existent) sysroot to be used and leading to this error:
ld.lld: error: cannot open crtbegin_dynamic.o: No such file or directory
ld.lld: error: cannot open crtend_android.o: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)