Files
gentoo/sys-boot/refind/files/refind-0.14.2-fix-binutils-2.46.patch
Viorel Munteanu aec74c5286 sys-boot/refind: fix build with binutils 2.46
The patch is trivial, apply direct to stable.

Closes: https://bugs.gentoo.org/970041
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2026-02-14 11:04:49 +02:00

18 lines
448 B
Diff

https://bugs.gentoo.org/970041
In binutils 2.46, objcopy became more strict with what it accepts as target.
--- a/Make.common
+++ b/Make.common
@@ -121,8 +121,8 @@
# objcopy flags for GNU-EFI
#
-FORMAT = --target=efi-app-$(ARCH)
-FORMAT_DRIVER = --target=efi-bsdrv-$(ARCH)
+FORMAT = --output-target=efi-app-$(ARCH)
+FORMAT_DRIVER = --output-target=efi-bsdrv-$(ARCH)
#
# Modifications on a per-architecture basis....