[OE-core] glibc and LDFLAGS

Richard Purdie richard.purdie at linuxfoundation.org
Sat Jan 18 23:32:06 UTC 2020


On Sat, 2020-01-18 at 22:25 +0000, Rasmus Villemoes wrote:
> I've added a custom setting to TARGET_LDFLAGS, but then I noticed
> that
> the glibc build ignored that. The glibc do_compile did
> 
>  LDFLAGS = ""
> 
> for a very long time, with the explanation that "# -Wl,-rpath-link
> <staging>/lib in LDFLAGS can cause breakage if another glibc is in
> staging". Is that actually still relevant with per-recipe staging?

It is obsolete now, correct.

> If that is indeed moot, can we do
> 
>          CPPFLAGS="" oe_runconf
>  }
> 
> +LDFLAGS += "-fuse-ld=bfd"

Its worth a try...

Cheers,

Richard



More information about the Openembedded-core mailing list