summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-12-07 12:58:59 +0100
committerGitHub <noreply@github.com>2021-12-07 12:58:59 +0100
commit3944ef20f503c80a314bdd076073967d70922a31 (patch)
treeecf3802454fdaeaaa57850d37fcd3ddcc732ada0 /meson_options.txt
parent5ed057b67b9cc0a6885845eacdffd117c40e3f4e (diff)
parentfd86250c1e088f68181d231448088ebc33971b33 (diff)
downloadsystemd-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.txt4
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')