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 242059 [details]
+ 11 Aug 2010; Markos Chandras <firstname.lastname@example.org>
+ Respect CC,CFLAGS,LDFLAGS. Bug #331849. Thanks to Diego E. 'Flameeyes'
+ Pettenò <email@example.com> for reporting