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 244681 [details] Build log
Created attachment 244827 [details] ebuild that applies the patch to fix LD flags.
Created attachment 244829 [details, diff] patch to fix ldflags
Thanks for the patch. I ended up implementing it as a sed script, in -r1.
(In reply to comment #2) > Created an attachment (id=244827) [details] > ebuild that applies the patch to fix LD flags. For future reference, I have found that many of the maintainers prefer to receive a patch for the ebuild, rather than a complete copy of the adjusted ebuild. This allows them to easily merge your fix with any other proposed changes to the same ebuild, and is particularly convenient if the ebuild receives unrelated changes before your proposed patch is examined.