Explorar o código

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.
Rich Felker %!s(int64=9) %!d(string=hai) anos
pai
achega
636a4799dd
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      configure

+ 2 - 0
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