Use LDFLAGS with CC instead of _LDFLAGS.
This is a followup to r311458. _LDFLAGS is for use with LD, whereas LDFLAGS is for use with CC.