[vlc-commits] ios/build.sh: don't export the same variables twice

Felix Paul Kühne git at videolan.org
Thu Apr 19 19:22:33 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Apr 19 19:22:23 2012 +0200| [0ef1fb4b9cfc1a74389933cb5988e5f200de1633] | committer: Felix Paul Kühne

ios/build.sh: don't export the same variables twice

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ef1fb4b9cfc1a74389933cb5988e5f200de1633
---

 extras/package/ios/build.sh |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 6b43bae..55e66bf 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -167,6 +167,7 @@ cd "${VLCROOT}/contrib/iPhone${PLATFORM}"
 if [ "$PLATFORM" = "OS" ]; then
   export AS="${IOS_GAS_PREPROCESSOR} ${CC}"
   export ASCPP="${IOS_GAS_PREPROCESSOR} ${CC}"
+  export CCAS="${IOS_GAS_PREPROCESSOR} ${CC}"
 else
   export AS="xcrun as"
   export ASCPP="xcrun as"
@@ -200,16 +201,6 @@ fi
 make
 spopd
 
-if [ "$PLATFORM" = "OS" ]; then
-  export AS="${IOS_GAS_PREPROCESSOR} ${CC}"
-  export ASCPP="${IOS_GAS_PREPROCESSOR} ${CC}"
-  export CCAS="${IOS_GAS_PREPROCESSOR} ${CC}"
-else
-  export AS="xcrun as"
-  export ASCPP="xcrun as"
-fi
-
-
 info "Bootstraping vlc"
 pwd
 info "VLCROOT = ${VLCROOT}"



More information about the vlc-commits mailing list