The configuration options in Makefile and config files offer selection of OS, but not of Architecture. This may not have been a problem in the past, but might become so in the future. I also note a few posts regarding 32 / 64 bit systems.
When I set the OS to Linux, the Makefile includes "-minline-all-stringops" which is X86 specific. I have 'fixed' my Makefile to be able to compile on ARM by commenting out that line, but I don't have the skills to offer a more long term solution. The lines affected are:
CFLAGS += -O3
CFLAGS += -minline-all-stringops
CFLAGS += -O