[yocto] [PATCH] Added missing CPPFLAGS/CFLAGS/LDFLAGS in sample recipe for morty branch

Einar Vading yocto-ml at vading.se
Tue Jul 25 23:06:25 PDT 2017


On Mon, Jul 17, 2017 at 4:48 PM, Leonardo Sandoval <
leonardo.sandoval.gonzalez at linux.intel.com> wrote:

> On Mon, 2017-07-17 at 15:30 +0100, Burton, Ross wrote:
> >
> > On 17 July 2017 at 15:04, Leonardo Sandoval
> > <leonardo.sandoval.gonzalez at linux.intel.com> wrote:
> >         master has the second line (LDFLAGS) but not the first one
> >         (CPPFLAGS and
> >         CFLAGS) so the problem may also be present on master. Would
> >         you mind
> >         checking this and sent patches to the poky mailing list?
> >
> >
> > The GNU_HASH warning is triggered by ignoring LDFLAGS.
>
> Got it, so definitely LDFLAGS var is missing, not sure if the rest are
> necessary for this simple hello world recipe.
> Leo
>

I had this problem to and IIRC i fixed it by moving the LDFLAGS variable to
the end of the line
> +          ${CC} helloworld.o -o helloworld  ${LDFLAGS}

>
> >
> > Ross
>
>
Einar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170726/b8a75c14/attachment.html>


More information about the yocto mailing list