From: Tom Finegan <tomfinegan@google.com>
Date: Wed, 9 Sep 2015 12:25:55 +0000 (-0700)
Subject: Revert "Fix building with iOS 9 beta SDK"
X-Git-Tag: v1.5.0~186^2
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8808d365e656710e6769ce8c70579bf7897dcdb;p=libvpx

Revert "Fix building with iOS 9 beta SDK"

This reverts commit 78637b61361ab11425afd4a67d43c4df948647a6.

Breaks armv7-darwin targets with current SDK (iOS 8/Xcode 6.4).

BUG=https://code.google.com/p/webm/issues/detail?id=1062

Change-Id: I58b27950f330557154d681a894114eadfbd3e593
---

diff --git a/build/make/configure.sh b/build/make/configure.sh
index ee7716fee..9b6d8201f 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -728,13 +728,6 @@ process_common_toolchain() {
   # Handle darwin variants. Newer SDKs allow targeting older
   # platforms, so use the newest one available.
   case ${toolchain} in
-    arm*-darwin*)
-      ios_sdk_dir="$(show_darwin_sdk_path iphoneos)"
-      if [ -d "${ios_sdk_dir}" ]; then
-        add_cflags  "-isysroot ${ios_sdk_dir}"
-        add_ldflags "-isysroot ${ios_sdk_dir}"
-      fi
-      ;;
     *-darwin*)
       osx_sdk_dir="$(show_darwin_sdk_path macosx)"
       if [ -d "${osx_sdk_dir}" ]; then
@@ -810,14 +803,7 @@ process_common_toolchain() {
           if disabled neon && enabled neon_asm; then
             die "Disabling neon while keeping neon-asm is not supported"
           fi
-          case ${toolchain} in
-            *-darwin*)
-              # Neon is guaranteed on iOS 6+ devices, while old media extensions
-              # no longer assemble with iOS 9 SDK
-              ;;
-            *)
-              soft_enable media
-          esac
+          soft_enable media
           ;;
         armv6)
           soft_enable media