summaryrefslogtreecommitdiff
path: root/devel/gnu-efi/files/patch-gnuefi-Makefile
blob: 92b199fce13552374ea0fdadc85366941492b52d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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