diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-12-07 12:58:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 12:58:59 +0100 |
commit | 3944ef20f503c80a314bdd076073967d70922a31 (patch) | |
tree | ecf3802454fdaeaaa57850d37fcd3ddcc732ada0 /meson_options.txt | |
parent | 5ed057b67b9cc0a6885845eacdffd117c40e3f4e (diff) | |
parent | fd86250c1e088f68181d231448088ebc33971b33 (diff) | |
download | systemd-3944ef20f503c80a314bdd076073967d70922a31.tar.gz |
Merge pull request #21264 from medhefgo/boot-lto
sd-boot: LTO support
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt index 0d3491a56c..ed51fae43a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -413,7 +413,9 @@ option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'], description : 'gnu-efi support for sd-boot') option('efi-cc', type : 'array', description : 'the compiler to use for EFI modules') -option('efi-ld', type : 'string', value : 'ld', +# Note that LLD does not support PE/COFF relocations +# https://lists.llvm.org/pipermail/llvm-dev/2021-March/149234.html +option('efi-ld', type : 'combo', choices : ['bfd', 'gold'], description : 'the linker to use for EFI modules') option('efi-libdir', type : 'string', description : 'path to the EFI lib directory') |