The reason was that android makefiles took into account the environment variable TARGET_ARCH what, resulted in the different and even incorrect configuration. In particular some system headers were used. Now when one compiles for android it seems only headers and libraries from android ndk are used, therefore g++-multilib is not required anymore. I have checked whether some other variables are used by the ndk and did not find such cases. So only TARGET_ARCH is prefixed by ABP_.
Total messages: 2