From 636a4799dd5bf11a1fcd209906c088ed948b821c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 6 Mar 2016 17:11:29 -0500 Subject: [PATCH] make configure check for unsupported (SPE) powerpc hard-float models the SPE ABI may be compatible with soft-float, but actually making it work requires some additional work, so for now it's best to make sure broken builds don't happen. --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 9c0762c9..213a8254 100755 --- a/configure +++ b/configure @@ -622,6 +622,8 @@ trycppif __mips_soft_float "$t" && SUBARCH=${SUBARCH}-sf fi if test "$ARCH" = "powerpc" ; then +trycppif "__NO_FPRS__ && !_SOFT_FLOAT" "$t" && fail \ + "$0: error: compiler's floating point configuration is unsupported" trycppif _SOFT_FLOAT "$t" && SUBARCH=${SUBARCH}-sf fi -- 2.25.1