[vlc-commits] contrib: x264: disable asm on Android x86*

Thomas Guillem git at videolan.org
Fri Dec 22 15:39:55 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Dec 22 15:38:42 2017 +0100| [250e44ff9d0f90eb4f7b975818c07cdea19b8ce8] | committer: Thomas Guillem

contrib: x264: disable asm on Android x86*

Because of TEXTREL...

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

 contrib/src/x264/rules.mak | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/contrib/src/x264/rules.mak b/contrib/src/x264/rules.mak
index 26788b5417..d4d711f83e 100644
--- a/contrib/src/x264/rules.mak
+++ b/contrib/src/x264/rules.mak
@@ -38,6 +38,15 @@ X264CONF += --enable-win32thread
 endif
 ifdef HAVE_CROSS_COMPILE
 X264CONF += --cross-prefix="$(HOST)-"
+ifdef HAVE_ANDROID
+# broken text relocations
+ifeq ($(ANDROID_ABI), x86)
+FFMPEGCONF +=  --disable-asm
+endif
+ifeq ($(ANDROID_ABI), x86_64)
+FFMPEGCONF +=  --disable-asm
+endif
+endif
 endif
 
 $(TARBALLS)/x262-git.tar.xz:



More information about the vlc-commits mailing list