summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/kexec-tools/files/kexec-tools-2.0.9-hardened.patch')
-rw-r--r--sys-apps/kexec-tools/files/kexec-tools-2.0.9-hardened.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/sys-apps/kexec-tools/files/kexec-tools-2.0.9-hardened.patch b/sys-apps/kexec-tools/files/kexec-tools-2.0.9-hardened.patch
deleted file mode 100644
index 01a8b4be933b..000000000000
--- a/sys-apps/kexec-tools/files/kexec-tools-2.0.9-hardened.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-the purgatory subdir gets loaded into the kernel so we need to
-make sure it does not get built with compiler settings like the
-rest of the userland tools. that means no PIC/PIE/SSP/etc...
-
---- a/purgatory/Makefile
-+++ b/purgatory/Makefile
-@@ -47,7 +47,8 @@ purgatory/sha256.o: $(srcdir)/util_lib/sha256.c
- $(PURGATORY): CC=$(TARGET_CC)
- $(PURGATORY): CFLAGS+=$(PURGATORY_EXTRA_CFLAGS) \
- $($(ARCH)_PURGATORY_EXTRA_CFLAGS) \
-- -Os -fno-builtin -ffreestanding
-+ -Os -fno-builtin -ffreestanding \
-+ -fno-PIC -fno-PIE -fno-stack-protector
-
- $(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \
- -I$(srcdir)/purgatory/include \