configure: arm: detect default thumb state of compiler
[ffmpeg.git] / configure
index 8cd5696..fd94bc0 100755 (executable)
--- 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