Global USE flags

Flag Description Packages
"( 2
( 2
) 2
)" 2
X 7
abi_x86_32 4
alsa 4
big-endian 2
clang support for <pkg>llvm-core/clang</pkg> assisted parsing 2
cpu_flags_x86_avx512f 2
cpu_flags_x86_sse2 2
cups 7
custom-cflags Keep -march, -mtune and -mcpu from CFLAGS (unsupported, known to break some components) 4
d3d9 Enable support for DirectX 9 (d3d9.dll) 2
dbus 3
debug Build with debug extensions enabled. 17
doc 11
elibc_llvm ELIBC setting for systems that use LLVM's libc 12
examples 4
gtk4 Build with GTK4 headers. 2
gui Install desktop entries, icons, and GUI launcher 4
hip Build HIP runtime 3
kerberos 2
llvm Build with LLVM backend and extensions enabled. 2
official Enable Chromium official build optimisations 2
opencl Enable the Rusticl Gallium OpenCL state tracker. 5
opengl 3
openmp 3
pax-kernel Allow building on a PaX-enabled kernel 2
proprietary-codecs Enable proprietary codecs like H.264 and AAC in the bundled ffmpeg 3
pulseaudio Add sound server support via media-libs/libpulse (may be PulseAudio or Pipewire, or apulse if installed) 4
python Enable PyGhidra Python 3 integration, interactive interpreter, and stubs 3
qt6 Build and install the qrenderdoc GUI 4
screencast Enable screen capture via PipeWire on Wayland 2
sdl 3
selinux 6
static-libs 3
strip 4
system-bootstrap Bootstrap using installed openjdk 2
system-harfbuzz Use the system copy of media-libs/harfbuzz 3
system-zstd Use the system copy of app-arch/zstd 2
test Perform rocblas-test to compare the result between rocBLAS and system BLAS. 31
tools Build various low-level parsers 2
truetype 2
udev 2
vaapi Enable hardware video acceleration via VA-API 3
valgrind 4
video_cards_ 2
video_cards_nvidia Build for Nvidia platform 3
vulkan Enable Vulkan graphics support 8
wayland Build the Wayland windowing support needed to capture Wayland clients. Upstream considers this experimental and unsupported; the qrenderdoc GUI itself still runs on the xcb Qt platform unless QT_QPA_PLATFORM says otherwise. 7
zstd 2

Category USE flags

app-emulation

Flag Description Packages
crossdev-mingw Use <pkg>sys-devel/crossdev</pkg> for the toolchain rather than <pkg>dev-util/mingw64-toolchain</pkg> (requires manual setting up and is mostly unsupported, try disabling if have issues) 3
d3d8 Enable support for DirectX 8 (d3d8.dll) 2

dev-java

Flag Description Packages
headless-awt Don't install the X backend for AWT, needed by some GUIs 3
source Install JVM sources 2

games-emulation

Flag Description Packages
cubeb Enables the cubeb audio backend 2
discord Enable rich Discord presence 2

sci-libs

Flag Description Packages
benchmark Build benchmark clients 4
roctracer Enable ROCm tracing support 2

sci-misc

Flag Description Packages
blis Build a BLIS backend 2
cuda 2
openblas Build an OpenBLAS backend 2

www-client

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

Local USE flags

app-editors

zed

Flag Description
amd64
collab Build the real-time calling and screen sharing support, which needs <pkg>net-libs/libwebrtc</pkg>

app-emulation

dxvk

Flag Description
d3d10 Enable support for DirectX 10 (d3d10.dll)
d3d11 Enable support for DirectX 11 (d3d11.dll)
dxgi Enable support for the DirectX Graphics Infrastructure (dxgi.dll)

proton-ge-custom

Flag Description
ffmpeg
fontconfig
pcap
ssl
usb
v4l
xinerama

vkd3d-proton

Flag Description
extras Install extra tools and demos in /usr/lib/vkd3d-proton

app-office

libreoffice

Flag Description
$(printf
${LO_EXTS})
'
'libreoffice_extensions_%s
accessibility
base
bluetooth
branding
coinmp
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-java

openjdk

Flag Description
javafx Import OpenJFX modules at build time, via <pkg>dev-java/openjfx</pkg>
jbootstrap Build OpenJDK twice, the second time using the result of the first
systemtap Enable SystemTap/DTrace tracing

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
bpf
clippy Install clippy, Rust code linter
dist Install dist tarballs (used for bootstrapping)
llvm-libunwind
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)
rustc-dev Install compiler development libraries for rustc_private consumers
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-python

dnspython

Flag Description
dnssec Use <pkg>dev-python/cryptography</pkg> to enable low-level DNSSEC RSA, DSA, ECDSA and EdDSA signature validation.
https Enable DNS-over-HTTPS.
quic Enable DNS-over-QUIC.

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
cpu_flags_x86_avx2

codex

Flag Description
code-mode Build codex-code-mode-host, which embeds V8. Upstream ships V8 as a library already built against musl rather than as source, so it needs what that was linked against

ghidra

Flag Description
${PYTHON_REQUIRED_USE}
bsim Enable BSim function similarity and duplicate code search engine (requires PostgreSQL support)
debugger Enable dynamic analysis and debugger subsystem (GDB, LLDB, DAP, trace modeling)
eclipse Package Eclipse plugins (GhidraDev, GhidraSleighEditor)
fidb Download and install Function ID signature databases for standard library recognition
ida Install IDA Pro loader and export plugins
jython Install Jython 2.7 legacy scripting extension
lisa Install LiSA (Library for Static Analysis) abstract interpretation engine
machine-learning Install Machine Learning function detection plugin
sarif Enable SARIF (Static Analysis Results Interchange Format) support
server Install GhidraServer multi-user collaboration daemon
z3 Enable SymbolicSummaryZ3 symbolic execution extension using Z3 SMT solver

hip

Flag Description
video_cards_amdgpu Build for AMD platform

llvm-mingw64

Flag Description
arm64-pe Enable the aarch64-w64-mingw32 target
arm64ec-pe Enable the arm64ec-w64-mingw32 target
bin-symlinks Install the cross tools into /usr/bin, where a build system looking for <pkg>sys-devel/gcc</pkg> by its cross name finds them
i686-pe Enable the i686-w64-mingw32 target
x86-64-pe Enable the x86_64-w64-mingw32 target

qwen-code

Flag Description
opentui Build the OpenTUI renderer with <pkg>dev-util/opentui</pkg> and make it the default

games-emulation

yuzu

Flag Description
compatibility-list Downloads the latest compatibility list
qt5
system-vulkan Use system dev-util/vulkan-headers
webengine Use QtWebEngine for web applet implementation
webservice Enable web services (telemetry, etc.)

games-fps

q2rtx

Flag Description
dlss
fsr
xess

games-util

heroic

Flag Description
gamescope Install a desktop entry that runs Heroic inside gui-wm/gamescope

llvm-runtimes

libclc

Flag Description
spirv Build SPIRV targets
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

mesa

Flag Description
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

net-im

discord

Flag Description
appindicator Enable tray icon support via dev-libs/libayatana-appindicator
bundled-electron Use the Electron bundled by upstream instead of dev-util/electron
seccomp Enable the seccomp sandbox

sci-libs

rocBLAS

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

rocFFT

Flag Description
perfscripts Install benchmark performance scripts

sci-misc

llama-cpp

Flag Description
curl
webui Build the web UI served by llama-server, which needs Node and the sharp image library
xdna Build the external AMD Ryzen AI XDNA1 NPU backend plugin

stable-diffusion-cpp

Flag Description
amx_bf16
amx_int8
amx_tile
avx
avx2
avx512_bf16
avx512_vnni
avx512f
avx512vbmi
avx_vnni
bmi2
f16c
flexiblas Build a FlexiBLAS backend
fma3
sse4_2
webm Support the webm audiovisual media file format
webp

sys-apps

keyutils

Flag Description
static

sys-boot

gnu-efi

Flag Description
abi_x86_64

www-client

chromium

Flag Description
bindist
bundled-toolchain Download and use the upstream binary toolchain(s) to build Chromium
cpu_flags_ppc_vsx3
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.
rar Enable the Safe Browsing feature to inspect RAR files.
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
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
telemetry
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