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>
This commit is contained in:
parent
bf20cdbd86
commit
9f30fb5a77
1 changed files with 2 additions and 0 deletions
2
configure
vendored
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…
Add table
Add a link
Reference in a new issue