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@martin.st>
pull/23/head
Martin Storsjö 12 years ago
parent bf20cdbd86
commit 9f30fb5a77
  1. 2
      configure

2
configure vendored

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

Loading…
Cancel
Save