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 244761 [details]
Created attachment 244973 [details, diff]
fix ldflags bug and added die statements and a few other cleanups
I guess I should try and debug this chrome bug first. It shows the right bug ID in the address bar, but it's somehow cached this bug in it's place. :/ sorry for the noise.
+*xkeycaps-2.47-r1 (27 Aug 2010)
+ 27 Aug 2010; Kacper Kowalik <firstname.lastname@example.org> -xkeycaps-2.47.ebuild,
+ Respect CC,CFLAGS,LDFLAGS wrt bug 334661. Thanks to Diego for the report.