From: Semyon Kolganov Date: Fri, 21 Apr 2017 11:27:11 +0000 (+0300) Subject: mpir: fix build failure on MIPS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e947766891c0473d0406afcf1e9a77e25292020a;p=buildroot.git mpir: fix build failure on MIPS Fixes: http://autobuild.buildroot.net/results/3de0ef545a7303ec6564ecf1a1da3dd539957ed4/ Signed-off-by: Semyon Kolganov [Thomas: remove bogus PowerPC stuff, fix n64 specification, rework commit log.] Signed-off-by: Thomas Petazzoni --- diff --git a/package/mpir/mpir.mk b/package/mpir/mpir.mk index 430d5874dc..b7f3829007 100644 --- a/package/mpir/mpir.mk +++ b/package/mpir/mpir.mk @@ -12,4 +12,12 @@ MPIR_LICENSE_FILES = COPYING.LIB MPIR_INSTALL_STAGING = YES MPIR_DEPENDENCIES = gmp host-yasm +ifeq ($(BR2_MIPS_NABI32),y) +MPIR_CONF_OPTS += ABI=n32 +endif + +ifeq ($(BR2_MIPS_NABI64),y) +MPIR_CONF_OPTS += ABI=64 +endif + $(eval $(autotools-package))