skalibs: fix endianness detection on x86
[buildroot-gz.git] / boot / syslinux / 0002-disable-pie.patch
blobb31b622c41a62ccdb2ece8c7101684174a684575
1 Description: Disable PIE to avoid FTBFS on amd64
2 Bug-Ubuntu: https://bugs.launchpad.net/bugs/1579023
3 Author: Graham Inggs <ginggs@ubuntu.com>
4 Last-Update: 2016-05-06
6 gcc 6.x has PIE support enabled by default, which causes a build issue
7 with syslinux. This patch disables PIE support in the relevant
8 syslinux Makefile.
10 Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
12 --- a/gpxe/src/Makefile
13 +++ b/gpxe/src/Makefile
14 @@ -4,7 +4,7 @@
17 CLEANUP :=
18 -CFLAGS :=
19 +CFLAGS := -fno-PIE
20 ASFLAGS :=
21 LDFLAGS :=
22 MAKEDEPS := Makefile