[vlc-devel] [PATCH] contrib: ffmpeg: fix build for Android on macOS

quinkblack at foxmail.com quinkblack at foxmail.com
Sat Nov 9 15:12:56 CET 2019


From: Zhao Zhili <zhilizhao at tencent.com>

fix_unreq is enabled by default on macOS.
---
It build successfully by remove the configure completely. Should we keep
it or not?

 contrib/src/ffmpeg/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 1ba04616e5..513163046d 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -172,7 +172,7 @@ FFMPEGCONF +=  --disable-mmx --disable-mmxext --disable-inline-asm
 endif
 ifdef HAVE_NEON
 ifeq ($(ANDROID_ABI), armeabi-v7a)
-FFMPEGCONF += --as='gas-preprocessor.pl -as-type clang -arch arm $(CC)'
+FFMPEGCONF += --as='gas-preprocessor.pl -as-type clang -arch arm -no-fix-unreq $(CC)'
 endif
 endif
 endif
-- 
2.22.0





More information about the vlc-devel mailing list