arm: automatically disable thumb
[pcsx_rearmed.git] / configure
index 4aed26a..00511bd 100755 (executable)
--- 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
@@ -313,4 +318,7 @@ if [ "$drc_cache_base" = "yes" ]; then
   echo "DRC_CACHE_BASE = 1" >> $config_mak
 fi
 
+# use pandora's skin (for now)
+test -e skin || ln -s frontend/pandora/skin skin
+
 # vim:shiftwidth=2:expandtab