I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details).
Check the attached build log.
Created attachment 171918 [details]
Created attachment 179513 [details, diff]
Patch to extend ebuild sed calls to fix various QA issues
This patch removes an assignment to $CC, which would interfere with cross-compiling, and rewrites the link directive to move -lxml2 after the object files. It also deletes the unnecessary explicit rules for how to build each object file.
Considering this fixed as I've committed it to -r1; thanks Kevin!