summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-07-24 23:29:17 +0300
committerMartin Storsjö <martin@martin.st>2015-07-27 10:45:32 +0300
commit60a21b3d81c1a11cf5a08950eadd4e84ca2e597c (patch)
tree1f9e6ff6282c75de10a14fc047646691abfb2de4 /configure
parent616b409c8f1e4fa568908212c01f6530da8d2e71 (diff)
configure: Check for _M_ARMT to detect thumb when using MSVC
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 291247ae3d..88c167f7bc 100755
--- 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