virtualx-engine/platform
Rémi Verschelde 5bb3063eec 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.

Deprecates 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.

(cherry picked from commit 534f85add1daec0669a1f18edd2cc456f9a296ef)
2022-07-22 01:03:31 +02:00
..
android Fix exit code of --help and --version, and test them in CI 2022-07-08 14:54:16 +02:00
iphone Flush accumulated input events on iOS 2022-07-08 20:01:19 +02:00
javascript HTML5: Make OS.get_locale() match other platforms 2022-07-15 23:25:01 +02:00
osx Improve OS.set_current_screen 2022-07-19 12:23:52 +03:00
server Server: Fix skip libstdc++ static linking on macOS 2022-02-03 17:54:59 +01:00
uwp Fixed the missing DLL's issue 2022-05-21 17:43:25 -04:00
windows Improve OS.set_current_screen 2022-07-19 12:23:52 +03:00
x11 SCons: Refactor Linux linker options with linker=<bfd|gold|lld|mold> 2022-07-22 01:03:31 +02:00
register_platform_apis.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00