]> code.ossystems Code Review - openembedded-core.git/commitdiff
ffmpeg: Pas CC and CXX to configure
authorKhem Raj <raj.khem@gmail.com>
Fri, 12 Aug 2016 03:31:14 +0000 (20:31 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2016 09:33:39 +0000 (10:33 +0100)
This helps in compiling it with with toolchain coming from
a sstate server where its built using a different build time
sysroot.

Secondly, also helps compiling with non-gcc ( clang ) compiler

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb

index b8acb61297bd6d098c876862ad2687c5ac0962e7..8c4fed5d6c471305d4fc56dc0b212990a7317e7f 100644 (file)
@@ -76,6 +76,8 @@ EXTRA_OECONF = " \
     --cross-prefix=${TARGET_PREFIX} \
     \
     --ld="${CCLD}" \
+    --cc="${CC}" \
+    --cxx="${CXX}" \
     --arch=${TARGET_ARCH} \
     --target-os="linux" \
     --enable-cross-compile \