SHA256
1
0
forked from pool/mono-core
mono-core/mono-arm-vfp.patch

33 lines
707 B
Diff

Index: mono-3.0.2/configure
===================================================================
--- mono-3.0.2.orig/configure
+++ mono-3.0.2/configure
@@ -25018,9 +25018,6 @@ if test ${TARGET} = ARM && test x$cross_
$as_echo_n "checking which FPU to use... " >&6; }
fpu=NONE
- if gcc -v 2>&1 | grep -q -- '--with-float=hard'; then
- fpu=VFP_HARD
- fi
if test x$fpu = xNONE; then
ORIG_CFLAGS=$CFLAGS
@@ -25063,11 +25060,12 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- fpu=FPA
-else
- fpu=NONE
-fi
+#if ac_fn_c_try_compile "$LINENO"; then :
+# fpu=FPA
+#else
+# fpu=NONE
+#fi
+fpu=VFP
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi