summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-08-11 20:31:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-17 10:33:39 +0100
commit25deaf1368cc0a99d7b5b3f2d08d7fead51296e2 (patch)
treeb6c624dfa4e91761400e1d370d16b78121ff5239
parent62157e2b31c206be40f95574bb205dae5e8e4b68 (diff)
downloadopenembedded-core-25deaf1368cc0a99d7b5b3f2d08d7fead51296e2.tar.gz
openembedded-core-25deaf1368cc0a99d7b5b3f2d08d7fead51296e2.tar.bz2
openembedded-core-25deaf1368cc0a99d7b5b3f2d08d7fead51296e2.zip
ffmpeg: Pas CC and CXX to configure
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>
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb
index b8acb61297..8c4fed5d6c 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb
@@ -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 \