| Flag |
Description |
9999 |
2026.02 |
| asan |
Enable clang's Address Sanitizer functionality. Expect longer compile time.
|
✓ |
✓ |
| clang |
Use clang compiler instead of GCC
|
✓ |
✓ |
| debug |
Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
|
✓ |
✓ |
| doc |
Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
|
✓ |
✓ |
| jit |
Enable Just-In-Time-Compiler. Has no effect except on AMD64 and Darwin.
|
⊕ |
⊕ |
| optimize |
Enable optimization via CFLAGS
|
✓ |
✓ |
| static-libs |
Build static versions of dynamic libraries as well
|
✓ |
✓ |
| ubsan |
Enable clang's Undefined Behavior Sanitizer functionality. Expect longer compile time.
|
✓ |
✓ |