shithub: libvpx

Download patch

ref: 48a3df87c0cced325f1bf95c72c8ac0f8392f919
parent: e5b858740aed35a6f2eb7bf84adb993ccd1962f2
author: James Zern <jzern@google.com>
date: Fri May 18 20:26:44 EDT 2018

configure,ios: add missing c++11 checks

+ bump ios minimum to 7.0; 6.0 does not have full c++11 support

Change-Id: If838b036e7327fda514cd2e8156eeda122cf6c73

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -832,7 +832,7 @@
     IOS_VERSION_MIN="8.0"
   else
     IOS_VERSION_OPTIONS=""
-    IOS_VERSION_MIN="6.0"
+    IOS_VERSION_MIN="7.0"
   fi
 
   # Handle darwin variants. Newer SDKs allow targeting older
--- a/build/make/iosbuild.sh
+++ b/build/make/iosbuild.sh
@@ -351,7 +351,7 @@
   IOS_VERSION_MIN="8.0"
 else
   IOS_VERSION_OPTIONS=""
-  IOS_VERSION_MIN="6.0"
+  IOS_VERSION_MIN="7.0"
 fi
 
 if [ "${VERBOSE}" = "yes" ]; then
--- a/configure
+++ b/configure
@@ -704,7 +704,7 @@
             soft_enable libyuv
         ;;
         *-android-*)
-            soft_enable webm_io
+            check_add_cxxflags -std=c++11 && soft_enable webm_io
             soft_enable libyuv
             # GTestLog must be modified to use Android logging utilities.
         ;;
@@ -713,7 +713,7 @@
             # x86 targets.
         ;;
         *-iphonesimulator-*)
-            soft_enable webm_io
+            check_add_cxxflags -std=c++11 && soft_enable webm_io
             soft_enable libyuv
         ;;
         *-win*)