[vlc-devel] [PATCH v2 5/9] contrib: fix cross-compile for aarch64

Thomas Guillem tom at gllm.fr
Thu Oct 9 18:45:23 CEST 2014


---
 contrib/src/ffmpeg/rules.mak   | 7 +++++++
 contrib/src/postproc/rules.mak | 5 +++++
 2 files changed, 12 insertions(+)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 0f65976..9712478 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -81,6 +81,13 @@ FFMPEGCONF += --cpu=armv6 --disable-neon
 endif
 endif
 
+# ARM64 stuff
+ifeq ($(ARCH),aarch64)
+ifndef HAVE_DARWIN_OS
+FFMPEGCONF += --arch=aarch64
+endif
+endif
+
 # MIPS stuff
 ifeq ($(ARCH),mipsel)
 FFMPEGCONF += --arch=mips
diff --git a/contrib/src/postproc/rules.mak b/contrib/src/postproc/rules.mak
index 27b3929..a132e57 100644
--- a/contrib/src/postproc/rules.mak
+++ b/contrib/src/postproc/rules.mak
@@ -35,6 +35,11 @@ POSTPROCCONF += --enable-neon
 endif
 endif
 
+# ARM64 stuff
+ifeq ($(ARCH),aarch64)
+POSTPROCCONF += --arch=aarch64
+endif
+
 # MIPS stuff
 ifeq ($(ARCH),mipsel)
 POSTPROCCONF += --arch=mips
-- 
2.1.0




More information about the vlc-devel mailing list