summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-11-30 21:58:42 +0000
committerMans Rullgard <mans@mansr.com>2012-12-03 11:06:06 +0000
commit66371c2851348cfbf0940370b7f6772aa304d8e6 (patch)
treea16f1ab680aae217b35433f5a2062b1fac6126ef /configure
parenteebc40e17784ced5ce297fb3e0a6caa7b9ee2433 (diff)
configure: arm: detect default thumb state of compiler
This makes configure honour the compiler default if thumb is not explicitly enabled or disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 8cd5696c80..fd94bc0dfc 100755
--- a/configure
+++ b/configure
@@ -3092,6 +3092,7 @@ if enabled alpha; then
elif enabled arm; then
+ check_cpp_condition stddef.h "defined __thumb__" && enable_weak thumb
enabled thumb && check_cflags -mthumb || check_cflags -marm
nogas=die