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 <[email protected]> > 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 <[email protected]>> >> 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é<[email protected]> >> --- >> 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@lists.**openembedded.org<[email protected]> >> 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@lists.**openembedded.org<[email protected]> > http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel> > _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
