configure: Check for _M_ARMT to detect thumb when using MSVC
authorMartin Storsjö <martin@martin.st>
Fri, 24 Jul 2015 20:29:17 +0000 (23:29 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 27 Jul 2015 07:45:32 +0000 (10:45 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
configure

index 291247a..88c167f 100755 (executable)
--- a/configure
+++ b/configure
@@ -3996,6 +3996,7 @@ elif enabled alpha; then
 
 elif enabled arm; then
 
+    enabled msvc && check_cpp_condition stddef.h "defined _M_ARMT" && enable thumb
     check_cpp_condition stddef.h "defined __thumb__" && enable_weak thumb
     enabled thumb && check_cflags -mthumb || check_cflags -marm