On 5 July 2016 at 14:10, Daniel. <danielhi...@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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to