Module: libav
Branch: master
Commit: 616b409c8f1e4fa568908212c01f6530da8d2e71

Author:    Martin Storsjö <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Fri Jul 24 23:25:10 2015 +0300

configure: Check MSVC defines for identifying hardfloat

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ö <[email protected]>

---

 configure |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 73f4e18..291247a 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 ;;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to