From: notaz Date: Mon, 23 Jul 2012 23:51:43 +0000 (+0300) Subject: arm: automatically disable thumb X-Git-Tag: r15~13 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96751f36c7867567d4d8c612c78f235392d1f243;p=pcsx_rearmed.git arm: automatically disable thumb recompiler can't handle it --- diff --git a/configure b/configure index 4cbcc803..00511bd1 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