]> granicus.if.org Git - libvpx/commitdiff
build/make/configure.sh: Silence arm target Xcode7 link warnings.
authorTom Finegan <tomfinegan@google.com>
Fri, 18 Sep 2015 23:01:32 +0000 (16:01 -0700)
committerTom Finegan <tomfinegan@google.com>
Thu, 24 Sep 2015 01:42:32 +0000 (18:42 -0700)
Always add IOS_VERSION_MIN to darwin arm cflags. The warning occured
because the default (9.0) does not match the value set by configure
(6.0).

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

Change-Id: Ia9085ceeca10e057f9eb781c14f07581bb6280a5

build/make/configure.sh

index 4021ec4922f238d4b34585f34d7c48f539cefc90..abf2e42e10e97871a63b244eeb93594e463342dd 100644 (file)
@@ -742,6 +742,7 @@ process_common_toolchain() {
   # platforms, so use the newest one available.
   case ${toolchain} in
     arm*-darwin*)
+      add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
       iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)"
       if [ -d "${iphoneos_sdk_dir}" ]; then
         add_cflags  "-isysroot ${iphoneos_sdk_dir}"