ffmpeg | branch: master | Carl Eugen Hoyos <ceffm...@gmail.com> | Fri Dec 7 00:11:17 2018 +0100| [63977ac38f902e2d00e6fca80ca5ab48276779c7] | committer: Carl Eugen Hoyos
configure: Use "clang" as cc_default for Android. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=63977ac38f902e2d00e6fca80ca5ab48276779c7 --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure index b062b6318e..be49c19b88 100755 --- a/configure +++ b/configure @@ -4129,6 +4129,11 @@ if test -n "$cross_prefix"; then enable cross_compile fi +set_default target_os +if test "$target_os" = android; then + cc_default="clang" +fi + ar_default="${cross_prefix}${ar_default}" cc_default="${cross_prefix}${cc_default}" cxx_default="${cross_prefix}${cxx_default}" @@ -4145,7 +4150,7 @@ windres_default="${cross_prefix}${windres_default}" sysinclude_default="${sysroot}/usr/include" set_default arch cc cxx doxygen pkg_config ranlib strip sysinclude \ - target_exec target_os x86asmexe nvcc + target_exec x86asmexe nvcc enabled cross_compile || host_cc_default=$cc set_default host_cc _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog