From 9f30fb5a773d59298d8d45c741b3fd971d84c97b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Storsj=C3=B6?= Date: Tue, 28 May 2013 23:39:21 +0300 Subject: [PATCH] configure: Don't pass -mthumb or -march= to MSVC MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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ö --- 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 ;; -- 2.7.4