The attached patch makes sure that ccache respect user defined LDFLAGS. HTH, Diego
Created attachment 82629 [details, diff] ccache-2.4-respectflags.patch
Fixed in CVS as ccache-2.4-r1. Thanks for playing the report-an-enhancement game! ;-)