configure: Don't pass -mthumb or -march= to MSVC
authorMartin Storsjö <martin@martin.st>
Tue, 28 May 2013 20:39:21 +0000 (23:39 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 28 May 2013 21:53:11 +0000 (00:53 +0300)
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@martin.st>
configure

index e890c15..48b405f 100755 (executable)
--- 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 ;;