mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +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:
parent
7840d7af22
commit
36c5f589fb
@ -224,6 +224,7 @@ if have_gnu_efi
|
|||||||
'-Bsymbolic',
|
'-Bsymbolic',
|
||||||
'-nostdlib',
|
'-nostdlib',
|
||||||
'-znocombreloc',
|
'-znocombreloc',
|
||||||
|
'--build-id=sha1',
|
||||||
'-L', efi_libdir,
|
'-L', efi_libdir,
|
||||||
efi_crt0]
|
efi_crt0]
|
||||||
if ['aarch64', 'arm', 'riscv64'].contains(efi_arch)
|
if ['aarch64', 'arm', 'riscv64'].contains(efi_arch)
|
||||||
|
Loading…
Reference in New Issue
Block a user