See attached build log.
(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 244811 [details]
Created attachment 244943 [details, diff]
cleaned up the ebuild and made it respect LDFLAGS
Fixed in CVS.