for android build cmake

for android build, CMAKE_C_COMPILER must manually set FILEPATH for c compiler. otherwise we get error “incompatible with elf_x86_64”. i think that cmake can’t choose correct c compiler for android build.

i set those:

is there another?

Android SDKs ship with a toolchain file that you should use IIRC. Do they not make the compiler be found automatically?

it cant found automatically.

Sorry, but more details will need to be given for me (or, I suspect, anyone else) to actually be able to assist you. I don’t know what your setup is or what you’ve attempted. Specifics go much longer than paraphrasing error messages and being vague about what you actually did.