[FFmpeg-cvslog] configure: Don't pass -mthumb or -march= to MSVC

Martin Storsjö git at videolan.org
Wed May 29 11:15:33 CEST 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue May 28 23:39:21 2013 +0300| [9f30fb5a773d59298d8d45c741b3fd971d84c97b] | committer: Martin Storsjö

configure: Don't pass -mthumb or -march= to MSVC

The modern MSVC for ARM always builds for thumb, and it can't be
disabled.

Also just use the default arch instead of trying to map the -march
parameter to MSVC's -arch parameter (which only takes the values
ARMv7VE and VFPv4).

Signed-off-by: Martin Storsjö <martin at martin.st>

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

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

diff --git a/configure b/configure
index e890c15..48b405f 100755
--- a/configure
+++ b/configure
@@ -2354,6 +2354,8 @@ msvc_flags(){
             -fno-common)          ;;
             -fno-signed-zeros)    ;;
             -fPIC)                ;;
+            -mthumb)              ;;
+            -march=*)             ;;
             -lz)                  echo zlib.lib ;;
             -lavifil32)           echo vfw32.lib ;;
             -lavicap32)           echo vfw32.lib user32.lib ;;



More information about the ffmpeg-cvslog mailing list