# nano /etc/portage/make.conf
-----------------------------------------------------------------------
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe" <ーー左記よりも CFLAGS="-O2 -march=native -pipe" の方がいいと思うが。
とりあえず動く物を作る為に上記で行く。
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult
http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="bindist mmx sse sse2"
INPUT_DEVICES="keyboard mouse virtualbox"
VIDEO_CARDS="virtualbox"
LINGUAS="ja"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
GENTOO_MIRRORS="
http://ftp.jaist.ac.jp/pub/Linux/Gentoo/" <−注、最初JAISTでやていたので
SYNC="rsync://rsync3.jp.gentoo.org/gentoo-portage"