Bigotry has always been institutional to some degree (caste systems, etc.), at least since humanity crossed from primitive groupings into larger civilizations, but the western Caucasoid/Mongoloid/Negroid theory and the dynamics that descended from it are all fairly recent, so it's safe to say that Buddha wouldn't have had a "no whities" policy.