opnsense-ports/devel/gnu-efi/files/patch-gnuefi-Makefile
Franco Fichtner 70213f4456 */*: sync with upstream
Taken from: FreeBSD
2016-06-23 04:21:33 +02: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