aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-09 00:38:48 +0100
committerJohannes Schickel2016-01-09 00:39:56 +0100
commitc313bc71cb65c23cec52ef196f6e8051ccf9a4e1 (patch)
treecedb77b90f9d69b671e72f345ac8dfe9f1e00a13 /configure
parentd866b246052006183195c1cb7f2a862ff613349a (diff)
downloadscummvm-rg350-c313bc71cb65c23cec52ef196f6e8051ccf9a4e1.tar.gz
scummvm-rg350-c313bc71cb65c23cec52ef196f6e8051ccf9a4e1.tar.bz2
scummvm-rg350-c313bc71cb65c23cec52ef196f6e8051ccf9a4e1.zip
CONFIGURE: Disable ARM assembly for iOS targets with Apple's as.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 10 insertions, 4 deletions
diff --git a/configure b/configure
index 990e012ac5..2c94c24ee2 100755
--- a/configure
+++ b/configure
@@ -2068,12 +2068,18 @@ define_in_config_h_if_yes $_need_memalign 'SCUMM_NEED_ALIGNMENT'
echo_n "Checking host CPU architecture... "
case $_host_cpu in
arm*)
+ echo "ARM"
case $_host_alias in
+ # Apple's as does not support the syntax we use in our ARM
+ # assembly. We simply do not enable it.
+ arm-apple-darwin9)
+ ;;
+ arm-apple-darwin10)
+ ;;
arm-apple-darwin11)
- echo "Apple iOS 7+ - ARM assembly disabled"
;;
+
*)
- echo "ARM"
define_in_config_if_yes yes 'USE_ARM_SCALER_ASM'
# FIXME: The following feature exhibits a bug. It produces distorted
# sound since 9003ce517ff9906b0288f9f7c02197fd091d4554. The ARM
@@ -2086,10 +2092,10 @@ case $_host_cpu in
# 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'
-
- append_var DEFINES "-DARM_TARGET"
;;
esac
+
+ append_var DEFINES "-DARM_TARGET"
;;
i[3-6]86)
echo "x86"