From 616b409c8f1e4fa568908212c01f6530da8d2e71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Storsj=C3=B6?= Date: Fri, 24 Jul 2015 23:25:10 +0300 Subject: [PATCH] configure: Check MSVC defines for identifying hardfloat MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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(+) 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 ;; -- 2.11.0