0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-21 17:31:21 +01:00

Add section for --disable-lto

Jason Volk 2020-06-19 20:45:18 -07:00
parent 77bee37753
commit 93d1ef18e6

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