if CFLAGS/LDFLAGS are unset, portage should export them as "" this is due to many packages having implicit values for both if they arent set. we certainly dont want to patch every package to remove implicit values, especially as we're talking about every single autotooled package out there.
This is fixed in 2.1.5_rc1.