Green’s Dictionary of Slang

give a fuck v.

also give a sweet fuck
[backform. f. not give a fuck v.]

1. [1930s+] (orig. US) to care about, to be concerned; usu. in negative sense, e.g. who gives a fuck?

2. attrib. use of sense 1.