--- mc-4.8.1.7/src/consaver/Makefile.am.orig 2012-12-28 12:47:48.000000000 +0400 +++ mc-4.8.1.7/src/consaver/Makefile.am 2013-03-07 10:00:44.473817319 +0400 @@ -4,4 +4,6 @@ cons_saver_SOURCES = cons.saver.c -AM_CPPFLAGS = -I$(top_srcdir) +AM_CPPFLAGS = -fpie -I$(top_srcdir) + +cons_saver_LDFLAGS= -pie