93 lines
2.2 KiB
Plaintext
93 lines
2.2 KiB
Plaintext
CFLAGS="-O2 -pipe -march=native"
|
|
CXXFLAGS="${CFLAGS}"
|
|
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
|
|
|
|
#### LTO/Graphite/OpenMP ####
|
|
TMP_GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
|
|
TMP_COMMON_CLDFLAGS="-flto=4 ${TMP_GRAPHITE} -ftree-vectorize -fopenmp -floop-parallelize-all"
|
|
CFLAGS="${CFLAGS} ${TMP_COMMON_CLDFLAGS}"
|
|
CXXFLAGS="${CFLAGS}"
|
|
LDFLAGS="${LDFLAGS} ${TMP_COMMON_CLDFLAGS}"
|
|
USE="${USE} graphite"
|
|
#############################
|
|
|
|
CHOST="x86_64-pc-linux-gnu"
|
|
CBUILD="x86_64-pc-linux-gnu"
|
|
MAKEOPTS="-j2"
|
|
EMERGE_DEFAULT_OPTS="-j2"
|
|
|
|
ACCEPT_KEYWORDS="amd64"
|
|
ACCEPT_LICENSE="*"
|
|
|
|
VIDEO_CARDS=""
|
|
INPUT_DEVICES="evdev"
|
|
|
|
FEATURES="ccache parallel-fetch collision-protect sandbox candy metadata-transfer preserve-libs"
|
|
|
|
CCACHE_SIZE="8G"
|
|
CCACHE_DIR="/var/tmp/ccache"
|
|
PORTAGE_NICENESS="19"
|
|
PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
|
|
|
|
PORTAGE_ELOG_CLASSES="warn error log"
|
|
PORTAGE_ELOG_SYSTEM="save"
|
|
|
|
# cpu
|
|
USE="${USE} custom-cflags"
|
|
|
|
# gpu
|
|
USE="${USE} directfb dri dri2 fbcon fbcondecor fbosd opengl opencl vaapi"
|
|
|
|
# fonts
|
|
USE="${USE} cairo cleartype -lcdfilter truetype unicode"
|
|
|
|
# audio
|
|
USE="${USE} aac alsa amr audio dts -esd faac gsm jack -jingle mad mikmod -nas \
|
|
ogg -osc -oss -pulseaudio speex vorbis"
|
|
|
|
# multimedia (video+audio)
|
|
USE="${USE} dirac -dvb -dvdr encode fftw -ipod -quicktime schroedinger v4l v4l2 video vpx x264 xvid xvmc"
|
|
|
|
# graphics
|
|
USE="${USE} -aalib -gphoto2 imagemagick jpg jpeg png sdl X"
|
|
|
|
# arc
|
|
USE="${USE} bzip2 gzip"
|
|
|
|
# toolkits
|
|
USE="${USE} -aqua -gtk2 -gtkhtml ncurses -neXt -qt -qt3 qt3support -qt-static"
|
|
|
|
# desktop
|
|
USE="${USE} -gnome -gnome2 -gnome-keyring -kde -nautilus -semantic-desktop xscreensaver"
|
|
|
|
# input
|
|
USE="${USE} tslib"
|
|
|
|
# security
|
|
USE="${USE} -kerberos -pam"
|
|
|
|
# power
|
|
USE="${USE} acpi"
|
|
|
|
# develop
|
|
USE="${USE} bash-completion cscope -debug -fortran \
|
|
-lua -mono pch \
|
|
-tcl -tidy -tk -tokenizer \
|
|
vim-syntax"
|
|
|
|
# daemons
|
|
USE="${USE} consolekit daemon dbus -hal logrotate samba syslog"
|
|
|
|
# web
|
|
USE="${USE} cgi xmlrpc"
|
|
|
|
# networking
|
|
USE="${USE} -bluetooth -imap -lirc -networkmanager -nis"
|
|
|
|
# db
|
|
USE="${USE} -freetds -mssql -sybase-ct"
|
|
|
|
# other
|
|
USE="${USE} -bindist -freetds inotify -ipod -multilib -old-linux nptl \
|
|
-smartcard threads xattr"
|