ports/devel/gnu-efi/files/patch-gnuefi-Makefile
Edward Tomasz Napierala 4b96e4beb9 Update devel/gnu-efi to 3.0.3.
PR:		203986
Submitted by:	Torsten Zühlsdorff <ports at toco-domains.de>
MFC after:	1 month
2016-06-22 09:51:13 +00:00

11 lines
280 B
Text

--- gnuefi/Makefile.orig 2015-08-17 20:06:47 UTC
+++ gnuefi/Makefile
@@ -47,6 +47,8 @@ FILES = reloc_$(ARCH)
OBJS = $(FILES:%=%.o)
+CFLAGS += -fPIC
+
# on aarch64, avoid jump tables before all relocations have been processed
reloc_aarch64.o: CFLAGS += -fno-jump-tables