[yocto] yocto build cross toolchain issue

Burton, Ross ross.burton at intel.com
Tue Jul 5 06:24:04 PDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160705/a41c108b/attachment.html>


More information about the yocto mailing list