| Submitter | Sylvain Paré |
|---|---|
| Date | July 6, 2011, 9:44 p.m. |
| Message ID | <CACrTVgLG+DcK=p0G4D0sfVy44Dm0WnVrH+yf3u2241_DkNguhw@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/7099/ |
| State | New, archived |
| Headers | show |
Comments
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@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@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@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
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@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@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@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@lists.**openembedded.org<Openembedded-devel@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@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org> > http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel> >
Patch
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 ./genMakefiles linux-cross }