Closed oorrnae closed 5 months ago
crt-static
requires special configuration; it is caused by the linker flag -nodefaultlibs
. You need to manually link to compiler_rt shipped with NDK. For more info you can check here: https://github.com/topjohnwu/crt0/blob/master/Android.mk#L9-L10
Compiling without static works fine. But when I use static compile:
I tried adding “-Ctarget-feature=+outline-atomics” but it didn't work.
version: ONDK r27.1