diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-07-21 11:35:38 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-07-22 01:00:35 +0200 |
commit | c8479c0d4dd930d87d98dc237e5f2413748673cf (patch) | |
tree | 963d8c96f1f20fb19f92674065e0b1afe96d1faf /thirdparty/harfbuzz/src/hb-ot-meta-table.hh | |
parent | 2280f85bc5cd1dc3860dffe3501c5be1dc89a193 (diff) |
SCons: Refactor Linux linker options with `linker=<bfd|gold|lld|mold>`
The new option is `linker` and lets the user specify the argument to
the`-fuse_ld=` linker flag directly. The supported options are:
- `default`: No change, typically uses GNU ld (bfd) unless the user or
distro picked a different default `/usr/bin/ld`.
- `bfd`: GNU ld from binutils
- `gold`: GNU gold from binutils
- `lld`: lld from LLVM
- `mold`: mold, an extremely fast modern linker, not (yet) intended for
use in production but great for development speed. Provided by distro
`mold` package or needs to be compiled from source and installed to
`/usr` otherwise.
Removes the `use_lld=yes` option, and make lld actually usable with GCC
too.
Not all the above are compatible or recommend for LTO, we recommend
using GNU ld with GCC LTO, or lld with LLVM ThinLTO.
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-ot-meta-table.hh')
0 files changed, 0 insertions, 0 deletions