He didn't.
He handily lost the white vote in both 2008 and 2012.
I didn’t say he won the majority, just that he won white men. 8>)