Browse Source

configure: Check for _M_ARMT to detect thumb when using MSVC

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n2.8
Martin Storsjö 9 years ago
parent
commit
60a21b3d81
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      configure

+ 1
- 0
configure View File

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