0002-disable-pie.patch 529 B

12345678910111213141516171819202122
  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
  5. gcc 6.x has PIE support enabled by default, which causes a build issue
  6. with syslinux. This patch disables PIE support in the relevant
  7. syslinux Makefile.
  8. Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
  9. --- a/gpxe/src/Makefile
  10. +++ b/gpxe/src/Makefile
  11. @@ -4,7 +4,7 @@
  12. #
  13. CLEANUP :=
  14. -CFLAGS :=
  15. +CFLAGS := -fno-PIE
  16. ASFLAGS :=
  17. LDFLAGS :=
  18. MAKEDEPS := Makefile