[vlc-commits] configure.ac: enforce -arch armv7 when cross-compiling for Darwin running on ARM platforms

Felix Paul Kühne git at videolan.org
Fri Mar 23 02:19:24 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Mar 23 02:18:41 2012 +0100| [09085c42ea0b57c4c2b9c13e896d0ea30fabd685] | committer: Felix Paul Kühne

configure.ac: enforce -arch armv7 when cross-compiling for Darwin running on ARM platforms

additionally, set the correct endianness value, since the check will fail

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

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8fa7157..1f6cd65 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,10 @@ case "${host_os}" in
       x86_64*)
         ARCH_flag="-arch x86_64"
       ;;
+      arm*)
+        ARCH_flag="-arch armv7"
+        ac_cv_c_bigendian="no"
+      ;;
     esac
 
     SYS=darwin



More information about the vlc-commits mailing list