From 66371c2851348cfbf0940370b7f6772aa304d8e6 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Fri, 30 Nov 2012 21:58:42 +0000 Subject: [PATCH] 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 --- configure | 1 + 1 file changed, 1 insertion(+) 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