From 0488a6f5522c5fc3f9ec18004cc5c4005c27c101 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 12 Feb 2017 23:12:29 +0100 Subject: [PATCH] ffmpeg: Force usage of clang --- packages/ffmpeg/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/ffmpeg/build.sh b/packages/ffmpeg/build.sh index 2a139908e..eb16e36fa 100644 --- a/packages/ffmpeg/build.sh +++ b/packages/ffmpeg/build.sh @@ -15,6 +15,8 @@ TERMUX_PKG_CONFLICTS="libav" termux_step_configure () { cd $TERMUX_PKG_BUILDDIR + export ASFLAGS="-no-integrated-as" + local _EXTRA_CONFIGURE_FLAGS="" if [ $TERMUX_ARCH = "arm" ]; then _ARCH="armeabi-v7a" @@ -38,6 +40,9 @@ termux_step_configure () { # Only used for LZMA compression support for tiff decoder. $TERMUX_PKG_SRCDIR/configure \ --arch=${_ARCH} \ + --as=$AS \ + --cc=$CC \ + --cxx=$CXX \ --cross-prefix=${TERMUX_HOST_PLATFORM}- \ --disable-avdevice \ --disable-ffserver \