diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2020-01-20 09:23:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-04 15:56:24 +0000 |
commit | 4535469d5953b94c9dcad5515be9b807ea7ba621 (patch) | |
tree | bd3603f7b08fb3b771ae81e1f5d2893f2410b1bb /meta/recipes-core/volatile-binds | |
parent | 6217c3a7201b34888aa2fbae8b6e490bea545574 (diff) | |
download | openembedded-core-contrib-4535469d5953b94c9dcad5515be9b807ea7ba621.tar.gz |
glibc: don't ignore global LDFLAGS settings
Two things: The -Wl,-rpath-link comment is stale (due to per-recipe
staging), so we no longer need to set our own LDFLAGS to avoid
-Wl,-rpath-link being in there. Second, overriding LDFLAGS should be
done at the recipe level so "bitbake -e" can show what is going on.
Otherwise debugging why one's global LDFLAGS tweaks are being ignored
is needlessly painful.
So pull out the LDFLAGS setting from do_compile, and change it to an
append instead of assignment.
For the benefit of future git blame: the -fuse-ld=bfd setting was
added by ac64c3b96b (glibc: always use bfd linker).
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/volatile-binds')
0 files changed, 0 insertions, 0 deletions