Skip to content
Snippets Groups Projects
Commit 60a21b3d authored by Martin Storsjö's avatar Martin Storsjö
Browse files

configure: Check for _M_ARMT to detect thumb when using MSVC

parent 616b409c
No related branches found
No related tags found
No related merge requests found
...@@ -3996,6 +3996,7 @@ elif enabled alpha; then ...@@ -3996,6 +3996,7 @@ elif enabled alpha; then
elif enabled arm; 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 check_cpp_condition stddef.h "defined __thumb__" && enable_weak thumb
enabled thumb && check_cflags -mthumb || check_cflags -marm enabled thumb && check_cflags -mthumb || check_cflags -marm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment