make.conf

# AMD Zen 2
COMMON_FLAGS="-O2 -pipe -march=znver2" 
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

RUSTFLAGS="${RUSTFLAGS} -C target-cpu=znver2"

LC_MESSAGES=C.utf8

ACCEPT_LICENSE="*"

FEATURES="candy parallel-fetch parallel-install sandbox"

GENTOO_MIRRORS="https://mirror.clarkson.edu/gentoo/ \
    rsync://mirror.clarkson.edu/gentoo/ \
    https://mirror.servaxnet.com/gentoo/ \
    http://gentoo-mirror.flux.utah.edu/"

L10N="en en-US"
LINGUAS="en en_US"

MAKEOPTS="-j6 -l7"

USE="acpi alsa -apm connman dbus elogind emoji gif git hardened imagemagick -iwd jpeg jumbo-build png udisks unicode strip vaapi vim-syntax vulkan webp wifi X"

# AMD Renoir
VIDEO_CARD="amdgpu radeonsi"