aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure b/configure
index bae1e9fa34..bd3244c678 100755
--- a/configure
+++ b/configure
@@ -761,6 +761,10 @@ i586-mingw32msvc)
_host_os=mingw32msvc
_host_cpu=i586
;;
+iphone)
+ _host_os=iphone
+ _host_cpu=arm
+ ;;
neuros)
_host_os=linux
_host_cpu=arm
@@ -1134,7 +1138,7 @@ if test -n "$_host"; then
bfin*)
_need_memalign=yes
;;
- i686-apple-darwin*|ppc-apple-darwin*)
+ *darwin*)
_ranlib=$_host-ranlib
_strip=$_host-strip
;;
@@ -1197,7 +1201,7 @@ if test -n "$_host"; then
_ar="$_host-ar cru"
_ranlib=$_host-ranlib
;;
- arm-apple-darwin*)
+ iphone)
echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
DEFINES="$DEFINES -DIPHONE -DUNIX -DUSE_ARM_SMUSH_ASM"
_endian=little
@@ -1209,8 +1213,6 @@ if test -n "$_host"; then
add_line_to_config_mk 'USE_ARM_SMUSH_ASM = 1'
_backend="iphone"
_build_hq_scalers="no"
- _ranlib=$_host-ranlib
- _strip=$_host-strip
;;
dreamcast)
echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"