[oe] [PATCH-proposal] fix vlc building (-fPIC error) by patching live555 recipe

Khem Raj raj.khem at gmail.com
Fri Jul 8 05:07:40 UTC 2011


On 07/06/2011 02:44 PM, Sylvain Paré wrote:
> Patch attached. removed unneeded line
>
>
>  From 9e01ea60bf7790f1250ef24a317507e255f3f947 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Sylvain=20'GarthPS'=20Par=C3=A9?=<sylvain.pare at gmail.com>
> Date: Wed, 6 Jul 2011 23:36:14 +0200
> Subject: [PATCH] live555 recipe: added -fPIC flag need by VLC to build with
> live555 support
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Signed-off-by: Sylvain 'GarthPS' Paré<sylvain.pare at gmail.com>
> ---
>   recipes/live555/live555.inc |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/live555/live555.inc b/recipes/live555/live555.inc
> index 14e97bb..6de57cb 100644
> --- a/recipes/live555/live555.inc
> +++ b/recipes/live555/live555.inc
> @@ -18,6 +18,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"
>
>   do_configure() {
>       cp ${WORKDIR}/config.linux-cross .
> +    echo "COMPILE_OPTS+=" -fPIC "">>  config.linux-cross

Did you try adding -fPIC to CFLAGS

>       ./genMakefiles linux-cross
>   }
>
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





More information about the Openembedded-devel mailing list