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 242933 [details]
Created attachment 345474 [details]
Updated ebuild (please review):
* fixes ldflags/gcc direct calling
* fixes bug 427696. i've used the hp suggested in bug 427696 by Arvydas Sidorenko
* ebuild eapi bump
+ 03 Apr 2014; Tom Wijsman <TomWij@gentoo.org> +xli-1.17.0-r5.ebuild:
+ [QA] Revision bump. EAPI 5. src_unpack --> src_prepare. Removed extra die's.
+ Updated HOMEPAGE; fixes bug #427696, reported by Arvydas Sidorenko. Support
+ user's CC and LDFLAGS; fixes bug #332717, reported by Diego. Merged these
+ changes with the contribution by Michael Mair-Keimberger (iamnr3).
Thank you (Diego) very much for reporting. Thank you (iamnr3) for contributing.
This one needs a stabilization as well; but since it's a minor revision bump, rather than a version bump, this can wait...