yes  that is the best choice for upstream ndk use you may or may not want to define  file offset bits for your own builds this only made it to the ndk around l  iirc  so it is probably not an option for upstream  the other alternative  popular on android  is to just always use the variants  that works great unless you need to build on mac os too  they do not have any of this stupid compatibility cruft  which makes it especially sad that android shipped with a bit off t 