Global USE flags

Flag Description Packages
X 2
alsa 2
clang support for <pkg>llvm-core/clang</pkg> assisted parsing 2
cups 2
debug Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use. 6
doc 4
lto 2
openmp 2
pax-kernel Allow building on a PaX-enabled kernel 2
seccomp 2
selinux 3
system-icu Use the system <pkg>dev-libs/icu</pkg> instead of the bundled one 2
systemd 2
test 7

Category USE flags

gui-apps

Flag Description Packages
man 3

Local USE flags

app-containers

crun

Flag Description
bpf Enable in Kernel, eBPF (enhanced Berkley Packet Filter) support for managing device controllers.
caps
criu Enable CRIU based checkpoint/restore support
static-libs

app-editors

vscode

Flag Description
api-proposals Enable API proposals !WARNING! Enabling them might be forbidden by Microsoft licensing terms!
badge-providers Allow various badge providers
build-online Disable network-sandbox and open Pandora's box!
electron-19 Build against electron-19 instead of the default one. Use at your own risk!
electron-20 Build against electron-20 instead of the default one. Use at your own risk!
electron-21 Build against electron-21 instead of the default one. Use at your own risk!
electron-22 Build against electron-22 instead of the default one. Use at your own risk!
electron-23 Build against electron-23 instead of the default one. Use at your own risk!
electron-24 Build against electron-24 instead of the default one. Use at your own risk!
electron-25 Build against electron-25 instead of the default one. Use at your own risk!
electron-26 Build against electron-26 instead of the default one. Use at your own risk!
electron-27 Build against electron-27 instead of the default one. Use at your own risk!
electron-28 Build against electron-28 instead of the default one. Use at your own risk!
electron-29 Build against electron-29 instead of the default one. Use at your own risk!
electron-30 Build against electron-30 instead of the default one. Use at your own risk!
electron-31 Build against electron-31 instead of the default one. Use at your own risk!
electron-32 Build against electron-32 instead of the default one. Use at your own risk!
openvsx Use Eclipse Open VSX instead of Visual Studio Marketplace
reh Build Remote Extension Host
reh-web Build Remote Extension Host for Web
substitute-urls Even though telemetry is disabled by default in this ebuild, one might want to replace telemetry reporting urls with 0.0.0.0
temp-fix Enable this if vscode does not build for you by default, this could help

app-text

doxygen

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

dev-java

openjdk

Flag Description
big-endian
examples
headless-awt Don't install the X backend for AWT, needed by some GUIs
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
override-bootstrap (DANGEROUS) If set, will attempt to bootstrap using any JDK version found at BOOTSTRAP_JDK
ppc64
source Install JVM sources
system-bootstrap Bootstrap using installed openjdk
systemtap Enable SystemTap/DTrace tracing
x86

dev-util

electron

Flag Description
bluetooth Enable Bluetooth. Disabling bluetooth does break WebAuthn. Could also break something else. Improved patch is welcome.
cpu_flags_arm_neon
custom-cflags
dev-dependencies Keep Electron's devDependencies. This makes them available in node_modules. For example "asar" utility is one of them.
gtk4 Build with GTK4 headers
hangouts Enable support for Google Hangouts features such as screen sharing
hevc Enable HEVC decoding support. Should work with system-ffmpeg, but might require additional patching for the built-in one.
js-type-check Enable JavaScript type-checking for Chrome's web technology-based UI. Requires Java.
kerberos
libcxx Use bundled C++ Standard Library (libc++)
nvidia Use libXNVCtrl library from <pkg>x11-drivers/nvidia-drivers</pkg> instead of the bundled one
optimize-thinlto Whether to enable ThinLTO optimizations. Turning ThinLTO optimizations on can substantially increase link time and binary size, but they generally also make binaries a fair bit faster.
optimize-webui Optimize parts of Chromium's UI written with web technologies (HTML/CSS/JS) for runtime performance purposes. This does more work at compile time for speed benefits at runtime.
pgo Enable PGO. Requires bundled binary profile data in sources tree. Often requires masked/testing llvm.
pic Disable optimized assembly code that is not PIC friendly
proprietary-codecs Enable proprietary codecs like H.264, MP3
pulseaudio
screencast Enable support for remote desktop and screen cast using <pkg>media-video/pipewire</pkg>
suid Build the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels
system-
system-abseil-cpp Use the system <pkg>dev-cpp/abseil-cpp</pkg> instead of the bundled one
system-av1 Use the system <pkg>media-libs/libaom</pkg> and <pkg>media-libs/dav1d</pkg> instead of the bundled ones
system-brotli Use the system <pkg>app-arch/brotli</pkg> instead of the bundled one
system-crc32c Use the system <pkg>dev-libs/crc32c</pkg> instead of the bundled one
system-double-conversion Use the system <pkg>dev-libs/double-conversion</pkg> instead of the bundled one
system-ffmpeg Use the system <pkg>media-video/ffmpeg</pkg> instead of the bundled one
system-harfbuzz Use the system <pkg>media-libs/harfbuzz</pkg> instead of the bundled one
system-jsoncpp Use the system <pkg>dev-libs/jsoncpp</pkg> instead of the bundled one
system-libevent Use the system <pkg>dev-libs/libevent</pkg> instead of the bundled one
system-libusb Use the system <pkg>dev-libs/libusb</pkg> instead of the bundled one
system-libvpx Use the system <pkg>media-libs/libvpx</pkg> instead of the bundled one
system-openh264 Use the system <pkg>media-libs/openh264</pkg> instead of the bundled one. If disabled, it will restrict USE=bindist.
system-openjpeg Use the system-wide <pkg>media-libs/openjpeg</pkg> instead of the bundled one. OpenJPEG use are exclusively for Chromium's PDF viewer.
system-png Use system libpng instead of the bundled one
system-re2 Use the system-wide <pkg>dev-libs/re2</pkg> instead of the bundled one
system-snappy Use the system-wide <pkg>app-arch/snappy</pkg> instead of the bundled one
system-woff2 Use the system <pkg>media-libs/woff2</pkg> instead of the bundled one
system-zstd Use the system <pkg>app-arch/zstd</pkg> instead of the bundled one
thinlto Build with ThinLTO support. LTO (Link Time Optimization) achieves better runtime performance through whole-program analysis and cross-module optimization (highly recommended).
ungoogled Apply ungoogled-chromium modifications to chromium sources (electron sources are untouched be it better or worse). Not yet thoroughly tested! Might break electron apps or electron itself!
vaapi
wayland

sccache

Flag Description
azure
dist-client
dist-server
gcs
memcached
redis
s3
simple-s3

gui-apps

wlogout

Flag Description
bash-completions Enable Bash completions for this package
fish-completions Enable Fish completions for this package
layershell Enable layershell support
zsh-completions Enable Zsh completions for this package

llvm-runtimes

openmp

Flag Description
fortran
gdb-plugin Build OMPD GDB plugin
hwloc Enable CPU affinity support via hwloc
offload Support offloading OpenMP using libomptarget
ompt Enable OpenMP Tools Interface support

media-plugins

gst-plugins-v4l2

Flag Description
udev

media-sound

tenacity

Flag Description
ffmpeg
flac
id3tag Enable ID3Tag support for MP3 files
ladspa
lame
lv2 Enable LV2 plugin hosting support
matroska Enable MKA/MKV container format support
midi Enable MIDI support
mp2 Enable MP2 codec support
mp3
ogg
sbsms Enable SBSMS timestretching support
soundtouch Enable SoundTouch timestretching support
vamp Enable VAMP plugin hosting support
vorbis Enable Vorbis codec support
vst2 Enable VST2 plugin hosting support

net-libs

nodejs

Flag Description
corepack
cpu_flags_x86_sse2
icu
inspector
npm
snapshot
ssl
system-ssl

net-proxy

zaproxy

Flag Description
plugins Install plugins

sys-power

tlp

Flag Description
elogind
split-usr

x11-misc

copyq

Flag Description
notification Build with native notification support (requires <pkg>kde-frameworks/knotifications</pkg>:5)