From 6ed4b0e2b64aecb5155dd6b880407a94f28e0e82 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 8 Sep 2010 09:25:21 -0700 Subject: ffmpeg: Pass along all of CCLDs flags, fix !Altivec PowerPC What's passed for --enable-ldflags is for ffmpeg using cc-as-ld but not just using CCLD, so pass in TOOLCHAIN_OPTIONS. For PowerPC, only pass --enable-altivec on ppce600 (only case of it we support) otherwise disable as ffmpeg defaults to enabled. Signed-off-by: Tom Rini --- recipes/ffmpeg/ffmpeg_0.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/ffmpeg/ffmpeg_0.5.bb') diff --git a/recipes/ffmpeg/ffmpeg_0.5.bb b/recipes/ffmpeg/ffmpeg_0.5.bb index 0c82100318..07af21d04c 100644 --- a/recipes/ffmpeg/ffmpeg_0.5.bb +++ b/recipes/ffmpeg/ffmpeg_0.5.bb @@ -46,7 +46,7 @@ EXTRA_OECONF = " \ --arch=${TARGET_ARCH} \ --enable-cross-compile \ --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \ - --extra-ldflags="${TARGET_LDFLAGS}" \ + --extra-ldflags="${TARGET_LDFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \ --enable-hardcoded-tables \ ${EXTRA_FFCONF} \ " -- cgit v1.2.3