forked from pool/mono-core
479519d060
fix arm builds. please forward to Factory, thanks. OBS-URL: https://build.opensuse.org/request/show/145938 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=97
33 lines
707 B
Diff
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
|
|
|