[yocto] [meta-baryon][PATCH 2/4] ffmpeg: build position independent code where possible

Kevin Strasser kevin.strasser at linux.intel.com
Mon Jan 7 13:05:53 PST 2013


Fixes several of the textrel warnings the package has been
producing.

Signed-off-by: Kevin Strasser <kevin.strasser at linux.intel.com>
---
 recipes-multimedia/ffmpeg/ffmpeg_0.6.1.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-multimedia/ffmpeg/ffmpeg_0.6.1.bb b/recipes-multimedia/ffmpeg/ffmpeg_0.6.1.bb
index 232cea1..a715ad7 100644
--- a/recipes-multimedia/ffmpeg/ffmpeg_0.6.1.bb
+++ b/recipes-multimedia/ffmpeg/ffmpeg_0.6.1.bb
@@ -2,7 +2,7 @@ require ffmpeg.inc
 
 LICENSE = "LGPLv2.1+ & GPLv2+"
 DEPENDS += "schroedinger libgsm"
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2"
 SRC_URI[md5sum] = "4f5d732d25eedfb072251b5314ba2093"
@@ -28,6 +28,7 @@ EXTRA_OECONF = " \
         --enable-pthreads \
         --enable-shared \
         --enable-swscale \
+		--enable-pic \
         --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
         --extra-ldflags="${TARGET_LDFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
         --prefix=${prefix}/ \
-- 
1.7.9.5




More information about the yocto mailing list