Compilation issues on Linux (clang++ as CC)

Still the same unfortunately. I can see LOGV strings in binary as before but none of my own which implies that the engine is either not built (although shows success) or somehow a wrong one is pulled in.

I.e. i can fully locate this log string:

if (pthread_self() != g_MainThread)
{
    LOGV("Not on main thread, skipping.");
    return GL_FALSE;
} 

in binary:

[0x00049de0]> f ~Not_on_main
0x002e43f2 30 str.Not_on_main_thread__skipping.

Buy anything i added before to log things won’t show up in the binary no matter what. I.e. added this log string for testing purposes:

static void android_app_free(struct android_app* android_app) {
    LOGV("android_app_free() {");

but it’s not included in the binary:

[0x00049de0]> f ~android_app_free
[0x00049de0]> 

Anything i could potentially miss or any common build pitfalls or something similar maybe?
Will keep looking, would like to understand the whole process better.