aboutsummaryrefslogtreecommitdiffstats
path: root/main/seabios/fix-pie.patch
blob: cb8b676ca494c4ec3099410f7625583fdbd4f01d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru seabios-1.9.2/Makefile seabios-1.9.2.fix/Makefile
--- seabios-1.9.2/Makefile	2016-03-07 16:19:08.000000000 +0200
+++ seabios-1.9.2.fix/Makefile	2016-11-02 17:50:07.418748334 +0200
@@ -62,7 +62,7 @@
     -minline-all-stringops -fomit-frame-pointer \
     -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks \
     -ffunction-sections -fdata-sections -fno-common -fno-merge-constants
-COMMONCFLAGS += $(call cc-option,$(CC),-nopie,)
+COMMONCFLAGS += $(call cc-option,$(CC),-no-pie -fno-pic,)
 COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
 COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
 COMMONCFLAGS += $(call cc-option,$(CC),-fstack-check=no,)