Build fails due to incorrectly detecting x32
Username: Oliver
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1980
When attempting to build OpenWRT, the toolchain generation fails due to tools/gmp/Makefile trying to detect an x32 compiler. It builds successfully but MPFR then fails to compile as it targets x86_64 but gmp has been built as x32
Deleting the following conditional from the GMP Makefile fixes the issue:
ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
HOST_CONFIGURE_ARGS += ABI=x32
endif