[vlc-commits] extras/ios: fix compilation with latest xcode releases

Felix Paul Kühne git at videolan.org
Mon Oct 27 19:18:32 CET 2014


vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Oct 22 19:20:14 2014 +0200| [079c2364f5d90284bf2ca20d89c51e7d2c4d9356] | committer: Felix Paul Kühne

extras/ios: fix compilation with latest xcode releases

(cherry picked from commit 5027938fb4965bca2d3e11ad1c17ca7aecaed258)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=079c2364f5d90284bf2ca20d89c51e7d2c4d9356
---

 extras/package/ios/build.sh |   10 ----------
 1 file changed, 10 deletions(-)

diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 84a0069..e788541 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -150,12 +150,8 @@ else
 export CFLAGS="${CFLAGS} -miphoneos-version-min=${SIXTYFOURBIT_SDK_MIN}"
 fi
 else
-if [ "$ARCH" != "x86_64" ]; then
-export CFLAGS="${CFLAGS} -miphoneos-version-min=${SDK_MIN}"
-else
 export CFLAGS="${CFLAGS} -miphoneos-version-min=${SIXTYFOURBIT_SDK_MIN}"
 fi
-fi
 
 export CXXFLAGS="${CFLAGS} -stdlib=libstdc++"
 
@@ -189,16 +185,10 @@ fi
 else
     EXTRA_CFLAGS="-arch ${ARCH}"
     EXTRA_LDFLAGS="-arch ${ARCH}"
-if [ "$ARCH" != "x86_64" ]; then
-    EXTRA_CFLAGS+=" -miphoneos-version-min=${SDK_MIN}"
-    EXTRA_LDFLAGS+=" -miphoneos-version-min=${SDK_MIN}"
-    export LDFLAGS="${LDFLAGS} -miphoneos-version-min=${SDK_MIN}"
-else
     EXTRA_CFLAGS+=" -miphoneos-version-min=${SIXTYFOURBIT_SDK_MIN}"
     EXTRA_LDFLAGS+=" -miphoneos-version-min=${SIXTYFOURBIT_SDK_MIN}"
     export LDFLAGS="${LDFLAGS} -miphoneos-version-min=${SIXTYFOURBIT_SDK_MIN}"
 fi
-fi
 
 
 info "LD FLAGS SELECTED = '${LDFLAGS}'"



More information about the vlc-commits mailing list