summaryrefslogtreecommitdiff
path: root/sys-boot/refind/files/refind-0.14.2-fix-binutils-2.46.patch
blob: 78d4b97f3b7fbda5613b1ac5b5e8d1a0ef9e13ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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....