Firefox is very finicky about CFLAGS. That's the only reason we have USE=custom-cflags in the first place; otherwise, we always try to respect them.