summaryrefslogtreecommitdiffstats
path: root/main/syslinux/syslinux-3.86-nopie.patch
blob: 262a4c15cad8847844440c9c649bb008fb32809f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./com32/MCONFIG.orig
+++ ./com32/MCONFIG
@@ -25,6 +25,8 @@
 	     $(call gcc_ok,-falign-loops=0,-malign-loops=0)		\
 	     $(call gcc_ok,-mpreferred-stack-boundary=2,)		\
 	     $(call gcc_ok,-mincoming-stack-boundary=2,)		\
+	     $(call gcc_ok,-nopie,)					\
+	     $(call gcc_ok,-fno-pie,)					\
 	     -march=i386 -Os -fomit-frame-pointer -mregparm=3 -DREGPARM=3
 
 com32 = $(topdir)/com32