Updated Compilation Instructions (mediawiki)

Uwe Seimet 2023-11-12 20:19:43 +01:00
parent 2b2a811d02
commit efb7360f8e

@ -128,10 +128,10 @@ export LDFLAGS="-fuse-ld=lld"
The choice of available/installable linkers depends on the OS platform. From the linkers mentioned above "mold" is the fastest, followed by "lld". On a Pi Zero alternative linkers save several minutes of build time.
== Link time optimization ==
== Link-time optimization ==
The PiSCSI binaries can be further optimized by enabling link time optimization:
The PiSCSI binaries can be further optimized by enabling link-time optimization:
```
export EXTRA_FLAGS="-flto"
```
Note that when using this setting the amount of memory and the time needed for compiling and linking increase. This is why enabling link time optimization on Pis with only 512 MB of main memory does not work.
Note that when using this setting the amount of memory and the time needed for compiling and linking increase. This is why enabling link-time optimization on Pis with only 512 MB of main memory does not work.