mirror of
https://github.com/matrix-construct/construct
synced 2024-11-21 17:31:21 +01:00
Add section for --disable-lto
parent
77bee37753
commit
93d1ef18e6
1 changed files with 6 additions and 0 deletions
6
BUILD.md
6
BUILD.md
|
@ -119,6 +119,12 @@ developers to explore an unterminated program.
|
||||||
This manually applies full release-mode optimizations even when using
|
This manually applies full release-mode optimizations even when using
|
||||||
`--enable-debug`. Implied when not in debug mode.
|
`--enable-debug`. Implied when not in debug mode.
|
||||||
|
|
||||||
|
#### Disable link-time optimization (LTO)
|
||||||
|
|
||||||
|
```
|
||||||
|
--disable-lto
|
||||||
|
```
|
||||||
|
LTO is enabled when optimization is enabled (and when the toolchain supports it). When developing in optimized mode, disabling LTO is strongly advised to reduce excessive link times.
|
||||||
|
|
||||||
#### Disable third-party dynamic allocator libraries
|
#### Disable third-party dynamic allocator libraries
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue