diff mbox

[1/2] ffmpeg: Pas CC and CXX to configure

Message ID 20160812033115.2546-1-raj.khem@gmail.com
State Accepted
Commit 25deaf1368cc0a99d7b5b3f2d08d7fead51296e2
Headers show

Commit Message

Khem Raj Aug. 12, 2016, 3:31 a.m. UTC
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>

---
 meta/recipes-multimedia/ffmpeg/ffmpeg_3.1.1.bb | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.9.2

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox

Patch

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 \