From: Thomas Petazzoni Date: Mon, 8 May 2017 19:45:50 +0000 (+0200) Subject: mpir: fix build on powerpc64le X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1d1879abaa4f5c7c9c8f0d7304ebb683dc9c679;p=buildroot.git mpir: fix build on powerpc64le The optimized powerpc64 code is not compatible with powerpc64le, so use the generic MPIR code on powerpc64le. Fixes: http://autobuild.buildroot.net/results/17e523be894b60d7a9b2a3303f02c3fb34816828/ Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/package/mpir/mpir.mk b/package/mpir/mpir.mk index 03f21d892a..697e838114 100644 --- a/package/mpir/mpir.mk +++ b/package/mpir/mpir.mk @@ -31,4 +31,9 @@ ifeq ($(BR2_mips_32r6)$(BR2_mips_64r6),y) MPIR_CONF_ENV += MPN_PATH="generic" endif +# Optimized powerpc64 code is not suitable for powerpc64le +ifeq ($(BR2_powerpc64le),y) +MPIR_CONF_ENV += MPN_PATH="generic" +endif + $(eval $(autotools-package))