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 249578 [details]
fixed in -r3; it was also ignoring CFLAGS (didn't you have a check for that too?) and CC (I'd be interested in seeing such bug reports btw, grep gcc build.log | grep -v $CHOST should not have much false positives)