[yocto] yocto build cross toolchain issue

Daniel. danielhilst at gmail.com
Tue Jul 5 06:33:07 PDT 2016


I see, well I didn't know about that, thank you very much for pointing
me that out. :)

2016-07-05 10:24 GMT-03:00 Burton, Ross <ross.burton at intel.com>:
>
> On 5 July 2016 at 14:10, Daniel. <danielhilst at gmail.com> wrote:
>>
>> I faced problems with symbols being droped if -l option is passed
>> after -Wl,--as-needed. To circumvent this I changed my Makefiles to
>> add link options prior $(LDFLAGS) expansion.
>
>
> Note that --as-needed only applies to links specified after the option
> itself, so changing the order to be -lfoo -lbar --as-needed means that
> as-needed isn't being used and can just be removed.
>
> (or your link ordering fixed)
>
> Ross



-- 
"Do or do not. There is no try"
  Yoda Master



More information about the yocto mailing list