From 36c5f589fbe267bf149711b7c4ac701675c5695a Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Wed, 5 May 2021 17:07:48 +0100 Subject: [PATCH] boot/efi: add --build-id=sha1 to ELF efi objects As it is not nice to ship ELF binary without a note.gnu.build-id set. --- src/boot/efi/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 547d918a786..ecb67eb689a 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -224,6 +224,7 @@ if have_gnu_efi '-Bsymbolic', '-nostdlib', '-znocombreloc', + '--build-id=sha1', '-L', efi_libdir, efi_crt0] if ['aarch64', 'arm', 'riscv64'].contains(efi_arch)