From 616b409c8f1e4fa568908212c01f6530da8d2e71 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Fri, 24 Jul 2015 23:25:10 +0300 Subject: configure: Check MSVC defines for identifying hardfloat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This macro identifies whether VFPv3 is available; MSVC defaults to hardfloat (except for older MSVC versions for CE, targeting ARMv4). Signed-off-by: Martin Storsjö --- configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 73f4e180da..291247ae3d 100755 --- a/configure +++ b/configure @@ -4001,6 +4001,8 @@ elif enabled arm; then if check_cpp_condition stddef.h "defined __ARM_PCS_VFP"; 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 case "${cross_prefix:-$cc}" in *hardfloat*) enable vfp_args; fpabi=vfp ;; -- cgit v1.2.3