32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
COMMON_FLAGS="-O2 -pipe -march=native -mtune=ivybridge"
|
|
MAKEOPTS="-j6 -l7"
|
|
CFLAGS="${COMMON_FLAGS}"
|
|
CXXFLAGS="${COMMON_FLAGS}"
|
|
FCFLAGS="${COMMON_FLAGS}"
|
|
FFLAGS="${COMMON_FLAGS}"
|
|
## uncomment for use with musl. be sure to select the musl profile
|
|
## and enable the gentoo musl overlay.
|
|
# CHOST="x86_64-gentoo-linux-musl"
|
|
|
|
PORTDIR="/var/db/repos/gentoo"
|
|
DISTDIR="/var/cache/distfiles"
|
|
PKGDIR="/var/cache/binpkgs"
|
|
|
|
## portage settings
|
|
EMERGE_DEFAULT_OPTS="--ask --verbose --tree --deep"
|
|
PORTAGE_SYNC_STALE="3"
|
|
PORTAGE_NICENESS="10"
|
|
FEATURES="collision-protect network-sandbox parallel-fetch sandbox"
|
|
|
|
## organize useflags
|
|
AUDIO_FLAGS="aac alsa -cdda flac mp3 mp4 ogg pulseaudio vorbis x264"
|
|
MEDIA_FLAGS="gif imlib jpeg png svg tiff truetype unicode"
|
|
VIDEO_FLAGS="acpi cairo -cdr dri gles2 opengl -ogre sdl vaapi vulkan -wayland X"
|
|
SYSTEM_FLAGS="bluetooth -branding -cups dbus elogind -geolocation -gnome gtk
|
|
gtk3 gpm icu -netifrc networkmanager osmesa policykit -systemd threads udev upower udisks xml"
|
|
GPU="intel nouveau i915 i965"
|
|
|
|
USE="${AUDIO_FLAGS} ${MEDIA_FLAGS} ${VIDEO_FLAGS} ${SYSTEM_FLAGS}"
|
|
VIDEO_CARDS="${GPU}"
|
|
INPUT_DEVICES="libinput synaptics"
|
|
PYTHON_TARGETS="python3_8"
|