From e947766891c0473d0406afcf1e9a77e25292020a Mon Sep 17 00:00:00 2001 From: Semyon Kolganov Date: Fri, 21 Apr 2017 14:27:11 +0300 Subject: [PATCH] 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 --- package/mpir/mpir.mk | 8 ++++++++ 1 file changed, 8 insertions(+) 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)) -- 2.30.2