summaryrefslogtreecommitdiffstats
path: root/gnu-efi/gnu-efi-3.0.19-fix-binutils-2.46.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-efi/gnu-efi-3.0.19-fix-binutils-2.46.patch')
-rw-r--r--gnu-efi/gnu-efi-3.0.19-fix-binutils-2.46.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu-efi/gnu-efi-3.0.19-fix-binutils-2.46.patch b/gnu-efi/gnu-efi-3.0.19-fix-binutils-2.46.patch
new file mode 100644
index 0000000..3499371
--- /dev/null
+++ b/gnu-efi/gnu-efi-3.0.19-fix-binutils-2.46.patch
@@ -0,0 +1,19 @@
1Backport the fix from gnu-efi 4.0.4 to build with binutils-2.46.
2
3https://bugs.gentoo.org/970040
4
5--- a/apps/Makefile
6+++ b/apps/Makefile
7@@ -66,9 +66,9 @@
8
9 ifneq ($(HAVE_EFI_OBJCOPY),)
10
11-FORMAT := --target efi-app-$(ARCH)
12-$(TARGET_BSDRIVERS): FORMAT=--target efi-bsdrv-$(ARCH)
13-$(TARGET_RTDRIVERS): FORMAT=--target efi-rtdrv-$(ARCH)
14+FORMAT := -O efi-app-$(ARCH)
15+$(TARGET_BSDRIVERS): FORMAT=-O efi-bsdrv-$(ARCH)
16+$(TARGET_RTDRIVERS): FORMAT=-O efi-rtdrv-$(ARCH)
17
18 else
19