tar/tar-PIE.patch
2021-06-14 08:38:12 +00:00

13 lines
420 B
Diff

Index: tar-1.34/tests/Makefile.am
===================================================================
--- tar-1.34.orig/tests/Makefile.am
+++ tar-1.34/tests/Makefile.am
@@ -317,6 +317,7 @@ installcheck-local: $(check_PROGRAMS)
check_PROGRAMS = genfile checkseekhole ckmtime
genfile_SOURCES = genfile.c argcv.c argcv.h
+genfile_LDFLAGS = -pie
checkseekhole_SOURCES = checkseekhole.c
localedir = $(datadir)/locale