From 96751f36c7867567d4d8c612c78f235392d1f243 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 24 Jul 2012 02:51:43 +0300 Subject: arm: automatically disable thumb recompiler can't handle it --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 4cbcc80..00511bd 100755 --- a/configure +++ b/configure @@ -170,6 +170,11 @@ if [ "$ARCH" = "arm" ]; then echo "$ASFLAGS" | grep -q -- '-mfloat-abi=' || ASFLAGS="$ASFLAGS -mfloat-abi=softfp" fi + # must disable -mthumb as recompiler can't handle it + if check_define __thumb__; then + CFLAGS="$CFLAGS -mno-thumb" + fi + if [ "$have_armv7" = "yes" ]; then ASFLAGS="$ASFLAGS --defsym HAVE_ARMV7=1" else -- cgit v1.2.3