[xbuild] Fix ProcessWrapper to WaitForExit(..) before accessing ExitCode
[mono.git] / configure.ac
index ee3a9666ecd73c02cfd238b893fc23ec790db9e5..d46125cf4d87a4450e1e343a16fa00a831df86c2 100644 (file)
@@ -2873,6 +2873,7 @@ case "$host" in
                TARGET=ARM;
                TARGET_SYS=WATCHOS
                arch_target=arm;
+               arm_fpu=VFP_HARD
                ACCESS_UNALIGNED="no"
                CPPFLAGS="$CPPFLAGS -D__ARM_EABI__"
                ;;
@@ -2933,6 +2934,7 @@ if test "x$host" != "x$target"; then
                with_tls=pthread
                case "$target" in
                armv7k-*)
+                       arm_fpu=VFP_HARD
                        AC_DEFINE(TARGET_WATCHOS, 1, [...])
                        ;;
                esac            
@@ -3447,6 +3449,10 @@ if test ${TARGET} = ARM; then
                ])
        fi
 
+       if test x$arm_fpu != x; then
+          fpu=$arm_fpu
+       fi
+
        AC_MSG_RESULT($fpu)
        CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1"
        unset fpu