Various patches to support android cross compilation
Needs ReviewPublic

Authored by angerman on Thu, Mar 16, 10:55 PM.

Details

Summary
  • Better test for SHT_INIT_ARRAY than openbsd_HOST_OS This is actually bens patch: https://gist.github.com/bgamari/c846e6a5f2cd988716cd5e36c68d5bef
  • linux-android defines.
  • No need for -lpthread on OSAndroid However, I’m confused why we do not use the AC NEED_PTHREAD_LIB value here?
  • Use mmap on android
  • Support none vendor.