X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=configure;h=00511bd15311281129de5e139c83b9b39e110ef5;hp=4cbcc80361da87ffb6f4c8d8aadc9baa94b44003;hb=96751f36c7867567d4d8c612c78f235392d1f243;hpb=b2013c9ca5e8ed307ee37e9f64127e634fb5039f 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