mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 11:19:35 +01:00
Clarify build options in debugging documentation
Updated documentation to clarify that building without optimization can lead to faster builds.
This commit is contained in:
parent
eb654acdd1
commit
48c800f7ef
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ In the development shell, set the `mesonBuildType` environment variable to `debu
|
||||||
Then, proceed to build Nix as described in [Building Nix](./building.md).
|
Then, proceed to build Nix as described in [Building Nix](./building.md).
|
||||||
This will build Nix with debug symbols, which are essential for effective debugging.
|
This will build Nix with debug symbols, which are essential for effective debugging.
|
||||||
|
|
||||||
It is also possible to build without debugging for faster build:
|
It is also possible to build without optimization for faster build:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
[nix-shell]$ NIX_HARDENING_ENABLE=$(printLines $NIX_HARDENING_ENABLE | grep -v fortify)
|
[nix-shell]$ NIX_HARDENING_ENABLE=$(printLines $NIX_HARDENING_ENABLE | grep -v fortify)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue