0029-contrib-fix-iOS-simulator-architecture-features.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From fafa89aad243d2e2e8f215ae07f9f2d20f5ba169 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 12:21:12 +0100
  4. Subject: [PATCH 29/29] contrib: fix iOS simulator architecture features
  5. ---
  6. contrib/bootstrap | 11 +++++++----
  7. 1 file changed, 7 insertions(+), 4 deletions(-)
  8. diff --git a/contrib/bootstrap b/contrib/bootstrap
  9. index bddb1a8..53a8f6c 100755
  10. --- a/contrib/bootstrap
  11. +++ b/contrib/bootstrap
  12. @@ -225,10 +225,13 @@ case "${OS}" in
  13. add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
  14. else
  15. check_ios_sdk
  16. - add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD" "HAVE_NEON"
  17. - if [ "$ARCH" != "arm64" ]; then
  18. - add_make_enabled "HAVE_ARMV7A"
  19. - fi
  20. + add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD"
  21. + if [ "$ARCH" != "x86_64" && "$ARCH" != "i386" ]; then
  22. + add_make_enabled "HAVE_NEON"
  23. + if [ "$ARCH" != "arm64" ]; then
  24. + add_make_enabled "HAVE_ARMV7A"
  25. + fi
  26. + fi
  27. fi
  28. ;;
  29. *bsd*)
  30. --
  31. 1.8.3.4 (Apple Git-47)