I am amazed that we still do not have a tracker for packages failing to respect LDFLAGS. Better late than never, I guess. And a warning to EVERYBODY as usual, comment here on meta-info ONLY, and NOT on issues in the blocking bugs!
FTR: the current way of detecting it in Portage is to have: LDFLAGS="... -Wl,--defsym=__gentoo_check_ldflags__=0"