/etc/portage/make.profile

The or  directories are usually symlinked to the correct profile in. For more detailed information see the Profile article and the related sections in.