mc/mc-pie.patch

15 lines
337 B
Diff
Raw Permalink Normal View History

---
src/consaver/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/src/consaver/Makefile.am
+++ b/src/consaver/Makefile.am
@@ -4,4 +4,6 @@ pkglibexec_PROGRAMS = cons.saver
cons_saver_SOURCES = cons.saver.c
-AM_CPPFLAGS = -I$(top_srcdir)
+AM_CPPFLAGS = -fpie -I$(top_srcdir)
+
+cons_saver_LDFLAGS= -pie