summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/syslinux/files/syslinux-3.70-nopie.patch')
-rw-r--r--sys-boot/syslinux/files/syslinux-3.70-nopie.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/sys-boot/syslinux/files/syslinux-3.70-nopie.patch b/sys-boot/syslinux/files/syslinux-3.70-nopie.patch
deleted file mode 100644
index 4e9c264574c4..000000000000
--- a/sys-boot/syslinux/files/syslinux-3.70-nopie.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-add no PIE flags if the toolchain supports it
-
---- com32/libutil/Makefile
-+++ com32/libutil/Makefile
-@@ -34,7 +34,8 @@
- gcc_ok = $(shell tmpf=$(TMPFILE); if gcc $(1) -c -x c /dev/null -o $$tmpf 2>/dev/null; \
- then echo $(1); else echo $(2); fi; rm -f $$tmpf)
-
--M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,)
-+M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,) \
-+ $(call gcc_ok,-nopie,) $(call gcc_ok,-fno-pie,)
-
- CC = gcc
- LD = ld -m elf_i386
---- com32/modules/Makefile
-+++ com32/modules/Makefile
-@@ -19,7 +19,8 @@
- gcc_ok = $(shell tmpf=$(TMPFILE); if gcc $(1) -c -x c /dev/null -o $$tmpf 2>/dev/null; \
- then echo $(1); else echo $(2); fi; rm -f $$tmpf)
-
--M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,)
-+M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,) \
-+ $(call gcc_ok,-nopie,) $(call gcc_ok,-fno-pie,)
-
- CC = gcc
- LD = ld -m elf_i386