gst-ffmpeg: remove 4-year old hack that sets CC directly
authorDenys Dmytriyenko <denys@ti.com>
Fri, 25 Feb 2011 07:39:18 +0000 (07:39 +0000)
committerDenys Dmytriyenko <denys@ti.com>
Fri, 25 Feb 2011 02:05:56 +0000 (21:05 -0500)
The hack that sets CC variable directly is 4 year old and no longer required.
On the other hand, it now breaks setups when --sysroot needs to be passed to
the toolchain. Hence, remove the hack.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
recipes/gstreamer/gst-ffmpeg_0.10.11.bb

index 3a6533a..563521e 100644 (file)
@@ -5,6 +5,8 @@ LICENSE = "LGPL"
 HOMEPAGE = "http://www.gstreamer.net/"
 DEPENDS = "ffmpeg gstreamer gst-plugins-base zlib"
 
+PR = "r1"
+
 inherit autotools pkgconfig
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2 \
@@ -23,7 +25,3 @@ EXTRA_OECONF = " --with-system-ffmpeg "
 # We do this because the install program is called with -s which causes it to
 # call "strip" and it then mangles cross compiled stuff..
 PATH_prepend := "${TOOLCHAIN_PATH}/${TARGET_SYS}/bin:"
-
-# Hack to get STAGING_LIBDIR into the linker path when building ffmpeg
-CC = "${CCACHE} ${HOST_PREFIX}gcc ${TARGET_CC_ARCH} -L${STAGING_LIBDIR}"
-