a303c31d559f02336992be6c463e3d789d502bc9
Don't wipe LDFLAGS defined by user by setting LDFLAGS env variable. If variable is empty, it will be correctly updated by += assignemnt.
Metadata Update from @rcritten: - Request assigned
Thanks for the PR, this looks fine. I'm curious, what LDFLAGS are you setting?
I'm working on adding cermonger to Gentoo package tree, so LDFLAGS checking is part of QA maintenance. Without provided patch portage complains about not respecting LDFLAGS. We use LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0", which does nothing on actual linking but allows to detect such QA warnings.
LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0"
Ah cool. LGTM, ack.
Pull-Request has been merged by rcritten
Don't wipe LDFLAGS defined by user by setting LDFLAGS env variable.
If variable is empty, it will be correctly updated by += assignemnt.