[OE-core] [PATCH 1/2] ffmpeg: Pas CC and CXX to configure

Khem Raj raj.khem at gmail.com
Fri Aug 12 03:31:14 UTC 2016


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 at gmail.com>
---
 meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb
index b8acb61..8c4fed5 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 \
-- 
2.9.2




More information about the Openembedded-core mailing list