summaryrefslogtreecommitdiffstats
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:35:42 +0100
commitaf96bedd0b3e87af57a5d774f0ad84bf1f0c0ce8 (patch)
treeccb618147632cb36eea375a7ecaaa605d230a41d
parentc0ea62e505fce32227f11bc3cd62ca726b525b47 (diff)
downloadpoky-af96bedd0b3e87af57a5d774f0ad84bf1f0c0ce8.tar.gz
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 (From OE-Core rev: 25deaf1368cc0a99d7b5b3f2d08d7fead51296e2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 = " \
76 --cross-prefix=${TARGET_PREFIX} \ 76 --cross-prefix=${TARGET_PREFIX} \
77 \ 77 \
78 --ld="${CCLD}" \ 78 --ld="${CCLD}" \
79 --cc="${CC}" \
80 --cxx="${CXX}" \
79 --arch=${TARGET_ARCH} \ 81 --arch=${TARGET_ARCH} \
80 --target-os="linux" \ 82 --target-os="linux" \
81 --enable-cross-compile \ 83 --enable-cross-compile \