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

Sylvain Paré sylvain.pare at gmail.com
Fri Jul 8 07:51:54 UTC 2011


Direclty in the recipe yeah and it did not work. But I have adoubt about
testing it directly in the config.linux-cross file..
Why ? (because as C_FLAGS =               $(COMPILE_OPTS) ...) in this same
file


2011/7/8 Khem Raj <raj.khem at gmail.com>

> On 07/06/2011 02:44 PM, Sylvain Paré wrote:
>
>> Patch attached. removed unneeded line
>>
>>
>>  From 9e01ea60bf7790f1250ef24a317507**e255f3f947 Mon Sep 17 00:00:00 2001
>> From: =?UTF-8?q?Sylvain=20'GarthPS'=**20Par=C3=A9?=<sylvain.pare@**
>> gmail.com <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<Openembedded-devel at lists.openembedded.org>
>> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**
>> openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>
>
>
> ______________________________**_________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.**openembedded.org<Openembedded-devel at lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>



More information about the Openembedded-devel mailing list