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

Pierre FICHEUX pierre.ficheux at smile.fr
Sun Jul 30 05:10:20 PDT 2017


Hi,

So do you want a new patch with LDFLAGS only?

regards

-- 
Pierre FICHEUX -/- CTO Smile-ECS, France -\- pierre.ficheux at smile.fr
                                     http://www.smile.fr
                                     http://ingenierie.openwide.fr
I would love to change the world, but they won't give me the source 
code

Le 2017-07-26 08:06, Einar Vading a écrit :
> 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 



More information about the yocto mailing list