]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot/efi: add --build-id=sha1 to ELF efi objects
authorDimitri John Ledkov <xnox@ubuntu.com>
Wed, 5 May 2021 16:07:48 +0000 (17:07 +0100)
committerDimitri John Ledkov <xnox@ubuntu.com>
Mon, 10 May 2021 08:36:04 +0000 (09:36 +0100)
As it is not nice to ship ELF binary without a note.gnu.build-id set.

src/boot/efi/meson.build

index 547d918a78670a27be82672c58faa4cdde813ba3..ecb67eb689af7e4bb5f42c75fe59b3a0c8984f03 100644 (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)