0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch 733 B

12345678910111213141516171819202122232425262728293031
  1. From 250bf2c921713434627dc7bc8b0918fa0841f9b7 Mon Sep 17 00:00:00 2001
  2. From: Graham Inggs <ginggs@ubuntu.com>
  3. Date: Wed, 5 Apr 2017 22:03:12 +0200
  4. Subject: [PATCH] Disable PIE to avoid FTBFS on amd64
  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. ---
  10. gpxe/src/Makefile | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/gpxe/src/Makefile b/gpxe/src/Makefile
  13. index cc91d78..077af64 100644
  14. --- a/gpxe/src/Makefile
  15. +++ b/gpxe/src/Makefile
  16. @@ -4,7 +4,7 @@
  17. #
  18. CLEANUP :=
  19. -CFLAGS :=
  20. +CFLAGS := -fno-PIE
  21. ASFLAGS :=
  22. LDFLAGS :=
  23. MAKEDEPS := Makefile
  24. --
  25. 2.7.4