From 400647f9ba6a65e45dbdd57ee05560758cfafdec Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 4 Dec 2012 05:35:11 +0100 Subject: [PATCH] configure: Fix ARM thumb detection The detection detects the default but not if it even works. Check building a simple piece of code and disable thumb if it fails This fixes a compile failure If someone has a better idea, just replace this by it! Signed-off-by: Michael Niedermayer --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 26280359d7..6dda93d58f 100755 --- a/configure +++ b/configure @@ -3424,7 +3424,10 @@ if enabled alpha; then elif enabled arm; then - check_cpp_condition stddef.h "defined __thumb__" && enable_weak thumb + check_cpp_condition stddef.h "defined __thumb__" && check_cc <