diff --git a/configure b/configure index 2c3e77a77d47e9e9914ab9050146b8cdad1307d2..133448026601da4485a3a9b3266c0263274c2646 100755 --- a/configure +++ b/configure @@ -4015,7 +4015,7 @@ elif enabled arm; then enable vfp_args elif check_cpp_condition stddef.h "defined _M_ARM_FP && _M_ARM_FP >= 30"; then enable vfp_args - elif ! check_cpp_condition stddef.h "defined __ARM_PCS || defined __SOFTFP__"; then + elif ! check_cpp_condition stddef.h "defined __ARM_PCS || defined __SOFTFP__" && [ $target_os != darwin ]; then case "${cross_prefix:-$cc}" in *hardfloat*) enable vfp_args; fpabi=vfp ;; *) check_ld <<EOF && enable vfp_args && fpabi=vfp || fpabi=soft ;;