#247 Respect LDFLAGS settings defined by user
Merged by rcritten. Opened by winterheart.
winterheart/certmonger respect-ldflags  into  master

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.

Ah cool. LGTM, ack.

Pull-Request has been merged by rcritten

Metadata