From 6ccb10c2d3c10bf8b6d7125213a9a7e2dcf8fce1 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 20 Dec 2022 14:35:15 -0500 Subject: [PATCH] boot/efi: pass --set-section-alignment to objcopy The --section-alignment option is not supported by llvm-objcopy, whereas the --set-section-alignment option is supported by both binutils and llvm. Bug: https://bugs.gentoo.org/887047 --- src/boot/efi/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 2a7e457df3..8bf4cf8477 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -475,7 +475,7 @@ foreach tuple : [['systemd-boot@0@.@1@', systemd_boot_objects, false, 'systemd-b '-j', '.sdata', '-j', '.sdmagic', '-j', '.text', - '--section-alignment=512', + '--set-section-alignment', '*:512', efi_format, '@INPUT@', '@OUTPUT@'], install : true, -- 2.39.0