configure: Check for _M_ARMT to detect thumb when using MSVC

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/161/head
Martin Storsjö 10 years ago
parent 616b409c8f
commit 60a21b3d81
  1. 1
      configure

1
configure vendored

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

Loading…
Cancel
Save