summaryrefslogtreecommitdiff
path: root/boot/syslinux/0002-disable-pie.patch
blob: b31b622c41a62ccdb2ece8c7101684174a684575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Disable PIE to avoid FTBFS on amd64
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1579023
Author: Graham Inggs <ginggs@ubuntu.com>
Last-Update: 2016-05-06

gcc 6.x has PIE support enabled by default, which causes a build issue
with syslinux. This patch disables PIE support in the relevant
syslinux Makefile.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>

--- a/gpxe/src/Makefile
+++ b/gpxe/src/Makefile
@@ -4,7 +4,7 @@
 #

 CLEANUP		:=
-CFLAGS		:=
+CFLAGS		:= -fno-PIE
 ASFLAGS		:=
 LDFLAGS		:=
 MAKEDEPS	:= Makefile