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