[FFmpeg-cvslog] configure: Check MSVC defines for identifying hardfloat

Martin Storsjö git at videolan.org
Mon Jul 27 13:18:42 CEST 2015


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Jul 24 23:25:10 2015 +0300| [616b409c8f1e4fa568908212c01f6530da8d2e71] | committer: Martin Storsjö

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ö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=616b409c8f1e4fa568908212c01f6530da8d2e71
---

 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 ;;



More information about the ffmpeg-cvslog mailing list