Various patches to support android cross compilation

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


  • Better test for SHT_INIT_ARRAY than openbsd_HOST_OS This is actually bens patch:
  • 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.

Diff Detail

rGHC Glasgow Haskell Compiler
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
angerman created this revision.Mar 16 2017, 10:55 PM
bgamari accepted this revision.Mar 29 2017, 4:24 PM

Indeed these all look reasonable.

This revision is now accepted and ready to land.Mar 29 2017, 4:24 PM
This revision was automatically updated to reflect the committed changes.