0026-extras-ios-simulator-doesn-t-necessarily-mean-i386-a.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From e9bf490eb79beb2661efb38eb08b47bf5adefea0 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Wed, 22 Jan 2014 03:05:48 +0100
  4. Subject: [PATCH 26/29] extras/ios: simulator doesn't necessarily mean i386
  5. anymore
  6. ---
  7. extras/package/ios/build.sh | 5 ++---
  8. 1 file changed, 2 insertions(+), 3 deletions(-)
  9. diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
  10. index 6e42216..9f57b14 100755
  11. --- a/extras/package/ios/build.sh
  12. +++ b/extras/package/ios/build.sh
  13. @@ -76,8 +76,7 @@ fi
  14. info "Building libvlc for iOS"
  15. if [ "$PLATFORM" = "Simulator" ]; then
  16. - TARGET="i686-apple-darwin11"
  17. - ARCH="i386"
  18. + TARGET="${ARCH}-apple-darwin11"
  19. OPTIM="-O3 -g"
  20. else
  21. TARGET="arm-apple-darwin11"
  22. @@ -189,7 +188,7 @@ else
  23. export ASCPP="xcrun as"
  24. fi
  25. -../bootstrap --host=${TARGET} --build="i686-apple-darwin10" --prefix=${VLCROOT}/contrib/${TARGET}-${ARCH} --arch=${ARCH} --disable-gpl \
  26. +../bootstrap --host=x86_64-apple-darwin11 --build=${TARGET} --prefix=${VLCROOT}/contrib/${TARGET}-${ARCH} --arch=${ARCH} --disable-gpl \
  27. --disable-disc --disable-sout \
  28. --disable-sdl \
  29. --disable-SDL_image \
  30. --
  31. 1.8.3.4 (Apple Git-47)