[vlc-commits] ios: fix contrib compilation with Xcode 5
Felix Paul Kühne
git at videolan.org
Mon Oct 7 15:53:47 CEST 2013
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Oct 7 15:53:04 2013 +0200| [7e7f263d5c98288773107ff7019d83cf930b52ad] | committer: Felix Paul Kühne
ios: fix contrib compilation with Xcode 5
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7e7f263d5c98288773107ff7019d83cf930b52ad
---
extras/package/ios/build.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index fecea39..6ad4686 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -167,10 +167,13 @@ if [ "$PLATFORM" = "OS" ]; then
EXTRA_CFLAGS="-arch ${ARCH} ${CFLAGS}"
EXTRA_LDFLAGS="-arch ${ARCH} ${LDFLAGS}"
else
- EXTRA_CFLAGS="-m32"
- EXTRA_LDFLAGS="-m32"
+ EXTRA_CFLAGS="-arch ${ARCH}"
+ EXTRA_LDFLAGS="-arch ${ARCH}"
fi
+EXTRA_CFLAGS+=" -miphoneos-version-min=${SDK_MIN}"
+EXTRA_LDFLAGS+=" -miphoneos-version-min=${SDK_MIN}"
+
info "LD FLAGS SELECTED = '${LDFLAGS}'"
spushd ${VLCROOT}/contrib
More information about the vlc-commits
mailing list