From: Konstantinos Margaritis <markos@freevec.org>
Date: Sat, 28 Feb 2015 18:46:02 +0100
Subject: disable arm asm

Disable asm optimizatons for ARM sytems to prevent a crash and
segmentation fault when running ScummVM on these platforms.

Forwarded: http://sourceforge.net/p/scummvm/bugs/6810/
Bug-Debian: https://bugs.debian.org/779029
---
 configure | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 0635907..d3391e7 100755
--- a/configure
+++ b/configure
@@ -2027,10 +2027,10 @@ echo_n "Checking host CPU architecture... "
 case $_host_cpu in
 	arm*)
 		echo "ARM"
-		define_in_config_if_yes yes 'USE_ARM_SCALER_ASM'
-		define_in_config_if_yes yes 'USE_ARM_SOUND_ASM'
-		define_in_config_if_yes yes 'USE_ARM_SMUSH_ASM'
-		define_in_config_if_yes yes 'USE_ARM_GFX_ASM'
+		# define_in_config_if_yes yes 'USE_ARM_SCALER_ASM'
+		# define_in_config_if_yes yes 'USE_ARM_SOUND_ASM'
+		# define_in_config_if_yes yes 'USE_ARM_SMUSH_ASM'
+		# define_in_config_if_yes yes 'USE_ARM_GFX_ASM'
 		# FIXME: The following feature exhibits a bug during the intro scene of Indy 4
 		# (on Pandora and iPhone at least)
 		#define_in_config_if_yes yes 'USE_ARM_COSTUME_ASM'
