瀏覽代碼

fix missing CFLAGS in configure test for float on sh

Rich Felker 11 年之前
父節點
當前提交
3d7f5c363e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure

+ 1 - 1
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.