Global USE flags

Flag Description Packages
"( 4
( 4
) 4
)" 4
X 3
amx_bf16 4
amx_int8 4
amx_tile 4
avx 4
avx2 4
avx512_bf16 4
avx512_vnni 4
avx512f 4
avx512vbmi 4
avx_vnni 4
bindist 3
bluetooth Enable Bluetooth. Disabling bluetooth does break WebAuthn. Could also break something else. Improved patch is welcome. 3
bmi2 4
build-online Disable network-sandbox and open Pandora's box! 11
bundled-toolchain Download and use the upstream binary toolchain(s) to build Chromium 3
clang Use Clang compiler instead of GCC 3
cpu_flags_ppc_vsx3 3
cuda Build the engine for NVIDIA GPUs (CUDA backend, sm_75 through sm_120: RTX 20/30/40/50) 5
cups 3
custom-cflags 3
debug Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use. 3
doc 3
f16c 4
ffmpeg-chromium (binpkg only) Use Chromium FFmpeg fork (<pkg>media-video/ffmpeg-chromium</pkg>) rather than mainline FFmpeg (<pkg>media-video/ffmpeg</pkg>) 3
fma3 4
gclient Fetch the Chromium sources with gclient (<pkg>dev-util/depot-tools</pkg>) instead of the tarball. The git mirror cache is kept in ${DISTDIR}/gclient-src (configurable via GCLIENT_STORE_DIR). 3
gtk4 Build with GTK4 headers 3
hangouts Enable support for Google Hangouts features such as screen sharing 3
kerberos 3
libcxx Use bundled C++ Standard Library (libc++) 3
nvidia Use libXNVCtrl library from <pkg>x11-drivers/nvidia-drivers</pkg> instead of the bundled one 3
openblas Enable the OpenBLAS backend 4
opencl Enable the OpenCL backend 4
openmp Use OpenMP for threading (GGML_OPENMP) 4
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. 3
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. 3
pax-kernel Allow building on a PaX-enabled kernel 3
pgo Enable PGO. Requires bundled binary profile data in sources tree. Often requires masked/testing llvm. 3
proprietary-codecs Enable codecs for patent-encumbered audio and video formats 3
pulseaudio 3
rpc Enable the RPC backend for distributed inference 4
screencast Enable support for remote desktop and screen cast using <pkg>media-video/pipewire</pkg> 3
selinux 3
sse4_2 4
suid Build the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels 3
system- 3
system-abseil-cpp Use the system <pkg>dev-cpp/abseil-cpp</pkg> instead of the bundled one 3
system-av1 Use the system <pkg>media-libs/libaom</pkg> and <pkg>media-libs/dav1d</pkg> instead of the bundled ones 3
system-brotli Use the system <pkg>app-arch/brotli</pkg> instead of the bundled one 3
system-crc32c Use the system <pkg>dev-libs/crc32c</pkg> instead of the bundled one 3
system-double-conversion Use the system <pkg>dev-libs/double-conversion</pkg> instead of the bundled one 3
system-ffmpeg Use the system <pkg>media-video/ffmpeg</pkg> instead of the bundled one 3
system-harfbuzz Use the system <pkg>media-libs/harfbuzz</pkg> instead of the bundled one 3
system-icu Use the system <pkg>dev-libs/icu</pkg> instead of the bundled one 3
system-jsoncpp Use the system <pkg>dev-libs/jsoncpp</pkg> instead of the bundled one 3
system-libusb Use the system <pkg>dev-libs/libusb</pkg> instead of the bundled one 3
system-libvpx Use the system <pkg>media-libs/libvpx</pkg> instead of the bundled one 3
system-openh264 Use the system <pkg>media-libs/openh264</pkg> instead of the bundled one. If disabled, it will restrict USE=bindist. 3
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. 3
system-png Use system libpng instead of the bundled one 3
system-re2 Use the system-wide <pkg>dev-libs/re2</pkg> instead of the bundled one 3
system-snappy Use the system-wide <pkg>app-arch/snappy</pkg> instead of the bundled one 3
system-woff2 Use the system <pkg>media-libs/woff2</pkg> instead of the bundled one 3
system-zstd Use the system <pkg>app-arch/zstd</pkg> instead of the bundled one 3
test 3
thinlto Build with ThinLTO support. LTO (Link Time Optimization) achieves better runtime performance through whole-program analysis and cross-module optimization (highly recommended). 3
vaapi 3
vulkan Enable the Vulkan backend 4
wayland Build and bundle the native Wayland clipboard helper (orca-wayland-clipboard), a temporary workaround for Electron bug #54645 that only runs on native Wayland. Not used on X11; default off, enable on Wayland sessions. 4

Category USE flags

sci-misc

Flag Description Packages
hip Enable the AMD ROCm/HIP GPU backend 2
system-ggml Link against the installed sci-ml/ggml instead of the bundled copy; the CPU ISA set and the backends are then selected by ggml's own USE flags 4

www-client

Flag Description Packages
cfi Build with CFI (Control Flow Integrity) enabled. It requires "-stdlib=libc++", see #40 for more details. 2
convert-dict Patch and build the convert_dict utility. The script will be installed into /usr/lib64/chromium-browser/update-dicts.sh. More info here: https://github.com/ungoogled-software/ungoogled-chromium/issues/188#issuecomment-444752907 3
enable-driver Build chromedriver 2
headless Build Ozone only with headless backend, NOT RECOMMENDED for general uses 2
official Enable Official build instead of Developer build 2
override-data-dir Change default user data directory to "~/.config/cromite". No data moved automatically. 2
qt6 3
widevine Unsupported closed-source DRM capability (required by Netflix VOD) 3

Local USE flags

app-admin

gb-chroot

Flag Description
host Enable this on a chroot host

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
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-emulation

vmware-workstation

Flag Description
macos-guests Support macOS guests.
modules Install <pkg>app-emulation/vmware-modules</pkg> in order to run VMs locally.
ovftool Install OVF tool.
systemd
vix Install VIX. The VIX API allows you to write programs and scripts that automate virtual machine operations, and run programs or manipulate files within guest operating systems.
vmware-tools-darwin Install VMware Tools for OS X (El Capitan and later) guests.
vmware-tools-darwinPre15 Install VMware Tools for OS X (up to Yosemite) guests.
vmware-tools-linux Install VMware Tools for Linux guests.
vmware-tools-linuxPreGlibc25 Install VMware Tools for Linux (glibc older than 2.5) guests.
vmware-tools-netware Install VMware Tools for Netware guests.
vmware-tools-solaris Install VMware Tools for Solaris guests.
vmware-tools-winPre2k Install VMware Tools for Windows (before 2000) guests.
vmware-tools-winPreVista Install VMware Tools for Windows (after 2000, before Vista) guests.
vmware-tools-windows Install VMware Tools for Windows (Vista and later) guests.

app-misc

font-manager

Flag Description
adwaita Use Adwaita stylesheet
gnome-search-provider Install GNOME shell search provider
google-fonts Google Fonts integration
manager Build font-manager
nautilus Build Nautilus extension
nemo Build Nemo extension
nls
reproducible Make the build reproducible
thunar Build Thunar extension
viewer Build font-viewer

dev-util

depot-tools

Flag Description
bash-completion
zsh-completion

electron

Flag Description
dev-dependencies Keep Electron's devDependencies. This makes them available in node_modules. For example "asar" utility is one of them.
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.
pic Disable optimized assembly code that is not PIC friendly
system-libevent Use the system <pkg>dev-libs/libevent</pkg> instead of the bundled one
ungoogled Apply ungoogled-chromium modifications to chromium sources (electron sources are not modified be it better or worse). Might break electron apps or electron itself!

net-im

element-desktop

Flag Description
native-modules Build native modules (for searching in encrypted rooms and secure storage)

net-misc

sb-hosts

Flag Description
fakenews Add fake news sites
gambling Add common online betting sites
porn Add porn sites
social Add social media sites

sci-misc

llama-cpp

Flag Description
examples Build the example programs
openssl Use OpenSSL for HTTPS model downloads
webui Embed the prebuilt web UI in llama-server

stable-diffusion-cpp

Flag Description
webm Enable WebM video output via system media-libs/libwebm (requires webp)
webp Enable WebP image I/O via system media-libs/libwebp

strata

Flag Description
desktop Install the Tauri desktop app (strata-desktop): the web shell, a pinned Node.js runtime and a control component that runs on the system python (one of 3.11-3.15); with cuda or hip the app also ships the engine bundle
tui Pull dev-python/textual for the terminal's interactive screens (strata launch, strata monitor); without it the screens report a clean error and the --no-tui fallback stays available

whisper-cpp

Flag Description
ffmpeg Link the examples against FFmpeg to decode more audio formats
sdl Build the SDL2-based examples whisper-stream, whisper-command, whisper-lsp and wchess

sci-ml

ggml

Flag Description
avx512bw
rocm Enable the AMD ROCm/HIP GPU backend
src Install the internal headers and sources (src/ and include/) for packages that compile parts of ggml themselves, e.g. sci-misc/strata with system-ggml

sys-kernel

linux-image

Flag Description
savedconfig

www-client

opera

Flag Description
gtk Install support libraries and runtime dependencies to support GTK+/GNOME desktop integration
l10n_
multilib

ungoogled-chromium

Flag Description
cromite Apply also select patches from Cromite. Highly experimental! Please consider Cromite licensing terms when deciding if you're allowed to distribute binaries built with these patches.