summaryrefslogtreecommitdiffstats
path: root/boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-05 22:06:06 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-05 22:06:06 +0200
commit34da6a65adae8463149a28c560926f3349142c2a (patch)
treed963501503122b4e8113593108337e4ec949187d /boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch
parent38b51739da7fa7b950bbc46c059fbbab465ba4cb (diff)
downloadbuildroot-34da6a65adae8463149a28c560926f3349142c2a.tar.gz
buildroot-34da6a65adae8463149a28c560926f3349142c2a.zip
syslinux: use Git formatted patches
In preparation for the addition of more patches to the syslinux package, reformat the two existing patches as proper Git formatted patches. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch')
-rw-r--r--boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch b/boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch
new file mode 100644
index 0000000000..64a08b8575
--- /dev/null
+++ b/boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch
@@ -0,0 +1,30 @@
+From 250bf2c921713434627dc7bc8b0918fa0841f9b7 Mon Sep 17 00:00:00 2001
+From: Graham Inggs <ginggs@ubuntu.com>
+Date: Wed, 5 Apr 2017 22:03:12 +0200
+Subject: [PATCH] Disable PIE to avoid FTBFS on amd64
+
+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>
+---
+ gpxe/src/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gpxe/src/Makefile b/gpxe/src/Makefile
+index cc91d78..077af64 100644
+--- a/gpxe/src/Makefile
++++ b/gpxe/src/Makefile
+@@ -4,7 +4,7 @@
+ #
+
+ CLEANUP :=
+-CFLAGS :=
++CFLAGS := -fno-PIE
+ ASFLAGS :=
+ LDFLAGS :=
+ MAKEDEPS := Makefile
+--
+2.7.4
+
OpenPOWER on IntegriCloud