fix missing CFLAGS in configure test for float on sh
authorRich Felker <dalias@aerifal.cx>
Fri, 28 Feb 2014 05:09:55 +0000 (00:09 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 28 Feb 2014 05:09:55 +0000 (00:09 -0500)
configure

index 6c02b4a..434242b 100755 (executable)
--- a/configure
+++ b/configure
@@ -423,7 +423,7 @@ test "$ARCH" = "microblaze" && trycppif __MICROBLAZEEL__ "$t" \
 
 if test "$ARCH" = "sh" ; then
 trycppif __BIG_ENDIAN__ "$t" && SUBARCH=${SUBARCH}eb
-if trycppif __SH_FPU_ANY__ ; then
+if trycppif __SH_FPU_ANY__ "$t" ; then
 # Some sh configurations are broken and replace double with float
 # rather than using softfloat when the fpu is present but only
 # supports single precision. Reject them.