aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/ffmpeg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/ffmpeg/Makefile')
-rw-r--r--tools/depends/target/ffmpeg/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/depends/target/ffmpeg/Makefile b/tools/depends/target/ffmpeg/Makefile
index 984521b553..eaf9fc4931 100644
--- a/tools/depends/target/ffmpeg/Makefile
+++ b/tools/depends/target/ffmpeg/Makefile
@@ -29,10 +29,14 @@ ifeq ($(OS), linux)
ffmpg_config += --enable-vdpau --enable-vaapi --enable-pic
endif
ifeq ($(OS), android)
- ifeq ($(findstring arm, $(CPU)), arm)
- ffmpg_config += --cpu=cortex-a9
+ ifeq ($(findstring arm64, $(CPU)), arm64)
+ ffmpg_config += --arch=aarch64 --cpu=cortex-a53
else
- ffmpg_config += --cpu=i686 --disable-mmx
+ ifeq ($(findstring arm, $(CPU)), arm)
+ ffmpg_config += --cpu=cortex-a9
+ else
+ ffmpg_config += --cpu=i686 --disable-mmx
+ endif
endif
ffmpg_config += --target-os=linux --extra-libs=-liconv
endif