summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-11-25 16:29:20 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-11-25 20:20:46 +0300
commit5d38a20196b9b9d15552ba3617ec7f63f6401a5c (patch)
treefac54ece45f4e96d14609b6074e96741fa758023 /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
parent6e5835d76ae27859b761003b6d57ab4ec190428f (diff)
downloadedk2-5d38a20196b9b9d15552ba3617ec7f63f6401a5c.tar.xz
BaseTools/tools_def: Use LLD to link ACPI table binaries
Currently, the CLANGDWARF toolchain on AARCH64 fails to pass the -fuse-ld=lld compiler option, and so linking ACPI table binaries falls back to the BFD linker. On non-AARCH64 build systems, this will correctly run the cross-linker, based on the -target argument passed to Clang, which therefore needs to be installed. However, the ASLCC invocation fails to pass that same -target argument, therefore producing object files for the native architecture, which the cross-linker cannot link, resulting in a build error. So pass the target in ASLCC_FLAGS as well, which is sufficient to get a working build. And for good measure, pass -fuse-ld=lld so that we don't rely on the BFD cross-linker in the first place. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions