From: Quirin Gylstorff <[email protected]>

This fixes an build error due to:

 * Internal changes to plugin support, and stricter target checking may result
   in some errors being exposed in user options passed to the various binutils.
   For example objcopy --target=TARGET now will only work if the input file is
   for TARGET whereas prior versions of objcopy accepted other target input
   files and produced a TARGET output.  If you do in fact want the old
   behaviour the correct usage is objcopy --output-target=TARGET.

See also Debian bug #1122406.

Signed-off-by: Quirin Gylstorff <[email protected]>
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c7aed67..bfe5753 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -299,13 +299,13 @@ efi_ldflags = \
        $(GNUEFI_LIB_DIR)/crt0-efi-$(ARCH).o
 
 if ARCH_IS_X86
-objcopy_format = --target=efi-app-$(ARCH)
+objcopy_format = --output-target=efi-app-$(ARCH)
 else
 if OBJCOPY_USE_BINARY_COPY
 objcopy_format = -O binary
 efi_ldflags += --defsym=EFI_SUBSYSTEM=0xa
 else
-objcopy_format = --target=efi-app-$(ARCH)
+objcopy_format = --output-target=efi-app-$(ARCH)
 endif
 endif
 
-- 
2.51.2

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/efibootguard-dev/20260107075221.23387-1-Quirin.Gylstorff%40siemens.com.

Reply via email to