[vlc-commits] iOS: Fix libVLC build script to pass proper OBJCFLAGS
Maxime CHAPELET
git at videolan.org
Thu Oct 20 21:43:54 CEST 2016
vlc | branch: master | Maxime CHAPELET <maxime.chapelet at giroptic.com> | Wed Oct 19 12:05:11 2016 +0200| [26c9ca8274f50c1b879db9a4d6b34a0e04682f4d] | committer: Jean-Baptiste Kempf
iOS: Fix libVLC build script to pass proper OBJCFLAGS
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26c9ca8274f50c1b879db9a4d6b34a0e04682f4d
---
extras/package/ios/build.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 85d8ef5..52c4da0 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -178,6 +178,8 @@ export SDK_VERSION=$SDK_VERSION
export VLCSDKROOT=$SDKROOT
CFLAGS="-isysroot ${SDKROOT} -arch ${ACTUAL_ARCH} ${OPTIM}"
+OBJCFLAGS="${OPTIM}"
+info "OBJCFLAGS = ${OBJCFLAGS}"
if [ "$PLATFORM" = "OS" ]; then
if [ "$ARCH" != "aarch64" ]; then
@@ -196,7 +198,7 @@ fi
export CFLAGS="${CFLAGS}"
export CXXFLAGS="${CFLAGS}"
export CPPFLAGS="${CFLAGS}"
-
+export OBJCFLAGS="${OBJCFLAGS}"
export CPP="xcrun cc -E"
export CXXCPP="xcrun c++ -E"
More information about the vlc-commits
mailing list