diff options
Diffstat (limited to 'docs/COMPILE.md')
| -rw-r--r-- | docs/COMPILE.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/COMPILE.md b/docs/COMPILE.md index c84bf958..6ae17e42 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -211,6 +211,10 @@ You can use ` -DSAVE_MEM` to have a build that will try to save some memory. It' If you are not building from a git clone (for example, downloading a release source code zip from github), you need to use `-DNOGIT=1` from cmake to be able to build (box64 uses git SHA1 to show last commit in version number). +#### Use faster linker + +You need to add `-DWITH_MOLD=1` if GNU ld is extremely slow. Then run `mold -run make -j4` to build (make sure [Mold](https://github.com/rui314/mold) is installed). + ---- Testing |