aboutsummaryrefslogtreecommitdiffstats
path: root/main/xen/rombios-no-pie.patch
blob: 6387f4ef4757a6c0765d51ef8d2f8b52ff18660c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ./tools/firmware/rombios/32bit/tcgbios/Makefile.orig
+++ ./tools/firmware/rombios/32bit/tcgbios/Makefile
@@ -3,7 +3,7 @@
 
 TARGET  = tcgbiosext.o
 
-CFLAGS += $(CFLAGS_xeninclude) -I.. -I../.. -I../../../../libacpi
+CFLAGS += $(CFLAGS_xeninclude) -I.. -I../.. -I../../../../libacpi -fno-pie
 
 .PHONY: all
 all: $(TARGET)
--- ./tools/firmware/rombios/32bit/Makefile.orig
+++ ./tools/firmware/rombios/32bit/Makefile
@@ -3,7 +3,7 @@
 
 TARGET = 32bitbios_flat.h
 
-CFLAGS += $(CFLAGS_xeninclude) -I.. -I../../../libacpi
+CFLAGS += $(CFLAGS_xeninclude) -I.. -I../../../libacpi -fno-pie
 
 SUBDIRS = tcgbios