1From 250bf2c921713434627dc7bc8b0918fa0841f9b7 Mon Sep 17 00:00:00 2001
2From: Graham Inggs <ginggs@ubuntu.com>
3Date: Wed, 5 Apr 2017 22:03:12 +0200
4Subject: [PATCH] Disable PIE to avoid FTBFS on amd64
5
6gcc 6.x has PIE support enabled by default, which causes a build issue
7with syslinux. This patch disables PIE support in the relevant
8syslinux Makefile.
9
10Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
11---
12 gpxe/src/Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/gpxe/src/Makefile b/gpxe/src/Makefile
16index cc91d78..077af64 100644
17--- a/gpxe/src/Makefile
18+++ b/gpxe/src/Makefile
19@@ -4,7 +4,7 @@
20 #
21
22 CLEANUP		:=
23-CFLAGS		:=
24+CFLAGS		:= -fno-PIE
25 ASFLAGS		:=
26 LDFLAGS		:=
27 MAKEDEPS	:= Makefile
28--
292.7.4
30
31