1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 23:21:22 +03:00

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.
This commit is contained in:
Dimitri John Ledkov 2021-05-05 17:07:48 +01:00
parent 7840d7af22
commit 36c5f589fb
No known key found for this signature in database
GPG Key ID: 9B8EC849D5EF70ED

View File

@ -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)