mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
Building with binutils 2.46 has been fixed by upstream in 4.x; backport the fix to 3.0.19 because it is still needed for sys-boot/refind. The patch is trivial, apply direct to stable. Closes: https://bugs.gentoo.org/970040 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
20 lines
480 B
Diff
20 lines
480 B
Diff
Backport the fix from gnu-efi 4.0.4 to build with binutils-2.46.
|
|
|
|
https://bugs.gentoo.org/970040
|
|
|
|
--- a/apps/Makefile
|
|
+++ b/apps/Makefile
|
|
@@ -66,9 +66,9 @@
|
|
|
|
ifneq ($(HAVE_EFI_OBJCOPY),)
|
|
|
|
-FORMAT := --target efi-app-$(ARCH)
|
|
-$(TARGET_BSDRIVERS): FORMAT=--target efi-bsdrv-$(ARCH)
|
|
-$(TARGET_RTDRIVERS): FORMAT=--target efi-rtdrv-$(ARCH)
|
|
+FORMAT := -O efi-app-$(ARCH)
|
|
+$(TARGET_BSDRIVERS): FORMAT=-O efi-bsdrv-$(ARCH)
|
|
+$(TARGET_RTDRIVERS): FORMAT=-O efi-rtdrv-$(ARCH)
|
|
|
|
else
|
|
|