add --relwithdebinfo flag to make building with debug symbols intact very simple

This commit is contained in:
cheezwiz7899
2026-04-19 18:04:52 +12:00
parent 2ce82f06f4
commit 0d1dbf51b1
2 changed files with 63 additions and 36 deletions
+1
View File
@@ -179,6 +179,7 @@ To produce an unoptimized release binary (useful for comparison or debugging):
| `--build DIR` | `./build` | Build root directory |
| `--jobs N` | `nproc` | Parallel compile jobs |
| `--unity` | off | Enable unity builds (~3090% faster compilation, no runtime effect) |
| `--relwithdebinfo` | off | Enable RelWithDebInfo build (Release with debug symbols). Injects `-g` while keeping O3/LTO/PGO. |
| `--clang-version N` | `21` | Host Clang version (Linux only) |
| `--llvm-mingw-version VER` | `20260224` | llvm-mingw release tag to download (Linux only) |