Global USE flags

Flag Description Packages
X 4
bluetooth 2
clang support for <pkg>llvm-core/clang</pkg> assisted parsing 2
cpu_flags_x86_sse2 2
cups 2
dbus 2
debug Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use. 11
doc 9
gtk4 Build with GTK4 headers. 2
gui 2
hip Build HIP runtime 2
llvm Enables LLVM support, for disassembly 2
opencl Build OpenCL runtime 3
opengl 2
openmp 2
proprietary-codecs Enable codecs for patent-encumbered audio and video formats. 2
pulseaudio Add sound server support via media-libs/libpulse (may be PulseAudio or Pipewire, or apulse if installed) 3
qt6 5
telemetry 2
test Perform rocblas-test to compare the result between rocBLAS and system BLAS. 26
tools Install optional tests and tools 2
vaapi 2
valgrind 4
video_cards_ 2
video_cards_amdgpu Build for AMD platform 2
video_cards_nvidia Build for Nvidia platform 2
vulkan Enable Vulkan graphics support 6
wayland Enable support for <pkg>dev-libs/wayland</pkg> 3
zstd 2

Category USE flags

dev-libs

Flag Description Packages
python 2

dev-util

Flag Description Packages
cpu_flags_x86_avx2 2

games-emulation

Flag Description Packages
compatibility-list Downloads the latest compatibility list 3
cubeb Enables the cubeb audio backend 4
discord Enable rich Discord presence 4
qt5 2
sdl 5
system-vulkan Use system dev-util/vulkan-headers 3
webengine Use QtWebEngine for web applet implementation 3
webservice Enable web services (telemetry, etc.) 3

www-client

Flag Description Packages
pgo Build with Profile Guided Optimizations (2-stage compilation) 2
selinux 2
system-harfbuzz Use system <pkg>media-libs/harfbuzz</pkg> instead of the bundled library. 2
system-icu Use the system-wide <pkg>dev-libs/icu</pkg> instead of bundled 2

Local USE flags

app-emulation

d7vk

Flag Description
abi_x86_32
crossdev-mingw
d3d8
strip

app-office

libreoffice

Flag Description
$(printf
${LO_EXTS})
'
'libreoffice_extensions_%s
accessibility
base
branding
coinmp
custom-cflags
eds
googledrive
gstreamer
gtk3
java
kde
ldap
mariadb
odk
pdfimport
postgres

libreoffice-l10n

Flag Description
l10n_
offlinehelp Install help files locally instead of using the LibreOffice Wiki

app-text

doxygen

Flag Description
dot allow to create dot graphs using <pkg>media-gfx/graphviz</pkg>
doxysearch build doxyindexer and doxysearch.cgi

dev-cpp

cpp-jwt

Flag Description
examples

dev-lang

rust

Flag Description
"(
${ALL_LLVM_TARGETS[*]}
(
)
)"
AArch64
AMDGPU
ARC
ARM
AVR
BPF
CSKY
DirectX
Hexagon
Lanai
LoongArch
M68k
MSP430
Mips
NVPTX
PowerPC
RISCV
SPIRV
Sparc
SystemZ
VE
WebAssembly
X86
XCore
Xtensa
big-endian
bpf
clippy Install clippy, Rust code linter
dist Install dist tarballs (used for bootstrapping)
llvm-libunwind
llvm_slot_21
llvm_slot_22
llvm_slot_23
llvm_targets_BPF
llvm_targets_WebAssembly
lto
miri Install miri, an interpreter for Rust's mid-level intermediate representation (requires USE=nightly, sometimes is broken)
mrustc-bootstrap Use <pkg>dev-lang/mrustc</pkg> to build the bootstrap Rust sysroot from this package's source
nightly Enable nightly (UNSTABLE) features (NOTE: it does not install nightly version, just enables features marked as nightly at time of release)
parallel-compiler Build a multi-threaded rustc (experimental, not tested by upstream)
rust-analyzer Install rust-analyzer, A Rust compiler front-end for IDEs (language server)
rust-src Install rust-src, needed by developer tools and for build-std (cross)
rustfmt Install rustfmt, Rust code formatter
system-llvm Use the system LLVM installation
wasm Build support for the wasm32-unknown-unknown target

dev-libs

liborcus

Flag Description
spreadsheet-model Enable the spreadsheet model implementation

xrt

Flag Description
npu

dev-qt

qttools

Flag Description
assistant Build Qt Assistant and the QtHelp module
designer Build Qt Designer
distancefieldgenerator Build Qt Distance Field Generator
gles2-only
kmap2qmap Build tool to generate keymaps for use on Embedded Linux
linguist Build Qt Linguist tools (GUI requires USE=widgets and USE=qml)
pixeltool Build Qt Pixeltool
qdbus Build the Qt D-Bus Interface (D-Bus Viewer requires USE=widgets)
qdoc Build Qt Documentation Generator
qml Build QML/QtQuick bindings and imports
qmlls Build the QtHelp plugin for the QML language server
qtattributionsscanner Build Qt Source Code Attribution Scanner
qtdiag Build Qt Diag
qtplugininfo Build Qt Plugin Info
widgets Enable QtWidgets support

dev-util

Tensile

Flag Description
client Build and install tensile_client executable to run benchmarks and tune GPU GEMM

claude-code

Flag Description
cpu_flags_x86_avx

games-emulation

dolphin

Flag Description
alsa
discord-presence Enables Discord Rich Presence, show the current game on Discord
egl
evdev Enable evdev input support
ffmpeg
log Increase logging output
mgba Enables GBA controllers emulation using libmgba.
profile
systemd
upnp

llvm-runtimes

libclc

Flag Description
spirv Build SPIRV targets
video_cards_r600
video_cards_radeonsi

media-fonts

liberation-fonts

Flag Description
fontforge Use <pkg>media-gfx/fontforge</pkg> to build fonts from source

media-libs

harfbuzz

Flag Description
cairo
experimental Enable experimental APIs
glib Enable <pkg>dev-libs/glib</pkg> unicode functions
graphite Enable <pkg>media-gfx/graphite2</pkg> complementary shaper
icu
introspection
truetype

mesa

Flag Description
d3d9 Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine.
gles1 Enable GLESv1 support.
lm-sensors Enable Gallium HUD lm-sensors support.
osmesa Build the Mesa library for off-screen rendering.
sysprof
unwind
vdpau Enable the VDPAU acceleration interface for the Gallium3D Video Layer.
video_cards_nouveau
vulkan-overlay Build vulkan-overlay-layer which displays Frames Per Second and other statistics
xa Enable the XA (X Acceleration) API for Gallium3D.
zink Enable the Zink OpenGL-over-Vulkan Gallium driver

vkBasalt

Flag Description
reshade-shaders Use Reshade Fx shaders

sci-libs

rocBLAS

Flag Description
benchmark Build and install rocblas-bench.
hipblaslt Build with hipBLASLt for some non-batched and strided batched problems on gfx12.

sci-misc

llama-cpp

Flag Description
blis Build a BLIS backend
cuda
curl
openblas Build an OpenBLAS backend
xdna

www-client

chromium

Flag Description
bindist
bundled-toolchain Download and use the upstream binary toolchain(s) to build Chromium
cpu_flags_ppc_vsx3
cpu_flags_x86_avx512f
ffmpeg-chromium (binpkg only) Use Chromium FFmpeg fork (<pkg>media-video/ffmpeg-chromium</pkg>) rather than mainline FFmpeg (<pkg>media-video/ffmpeg</pkg>)
hangouts Enable support for Google Hangouts features such as screen sharing
headless Build Ozone only with headless backend, NOT RECOMMENDED for general use.
kerberos
official Enable Official build instead of Developer build.
pax-kernel Allow building on a PaX-enabled kernel
rar Enable the Safe Browsing feature to inspect RAR files.
screencast
system-zstd Use system <pkg>app-arch/zstd</pkg> instead of the bundled one.
widevine Unsupported closed-source DRM capability (required by Netflix VOD)

firefox

Flag Description
eme-free Disable EME (DRM plugin) capability at build time
gmp-autoupdate Allow Gecko Media Plugins (binary blobs) to be automatically downloaded and kept up-to-date in user profiles
gnome-shell Integrate with gnome-base/gnome-shell search
hardened
hwaccel Force-enable hardware-accelerated rendering (Mozilla bug 594876)
jack
jpegxl Add JPEG XL / jxl image support
jumbo-build Enable unified build - combines source files to speed up build process, but requires more memory
libproxy Enable libproxy support
openh264 Use <pkg>media-libs/openh264</pkg> for H264 support instead of downloading binary blob from Mozilla at runtime
sndio Enable support for the <pkg>media-sound/sndio</pkg> backend
system-av1 Use the system-wide <pkg>media-libs/dav1d</pkg> and <pkg>media-libs/libaom</pkg> library instead of bundled
system-jpeg Use the system-wide <pkg>media-libs/libjpeg-turbo</pkg> instead of bundled
system-libevent Use the system-wide <pkg>dev-libs/libevent</pkg> instead of bundled
system-libvpx Use the system-wide <pkg>media-libs/libvpx</pkg> instead of bundled
system-pipewire Use system <pkg>media-video/pipewire</pkg> for WebRTC and screencast instead of bundled one
system-png Use the system-wide <pkg>media-libs/libpng</pkg> instead of bundled (requires APNG patches)
system-webp Use the system-wide <pkg>media-libs/libwebp</pkg> instead of bundled
wasm-sandbox Sandbox certain third-party libraries through WebAssembly using RLBox
wifi Enable necko-wifi for NetworkManager integration, and access point MAC address scanning for better precision with opt-in geolocation services

x11-libs

libdrm

Flag Description
udev