From 3d7f5c363e27426a3977bc6fa0436e92653eccf1 Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Fri, 28 Feb 2014 00:09:55 -0500
Subject: fix missing CFLAGS in configure test for float on sh

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'configure')

diff --git a/configure b/configure
index 6c02b4a4..434242b4 100755
--- 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.
-- 
cgit v1.2.3-70-g09d2