diff -ur prelude-lml-0.9.12.2.orig/configure prelude-lml-0.9.12.2/configure --- prelude-lml-0.9.12.2.orig/configure 2008-04-24 14:08:17.000000000 -0400 +++ prelude-lml-0.9.12.2/configure 2008-04-24 15:25:29.000000000 -0400 @@ -33196,7 +33196,7 @@ #AC_LANG_PUSH([C]) save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -z now" + LDFLAGS="$LDFLAGS -z now -pie" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ diff -ur prelude-lml-0.9.12.2.orig/plugins/pcre/Makefile.in prelude-lml-0.9.12.2/plugins/pcre/Makefile.in --- prelude-lml-0.9.12.2.orig/plugins/pcre/Makefile.in 2008-04-24 14:08:17.000000000 -0400 +++ prelude-lml-0.9.12.2/plugins/pcre/Makefile.in 2008-04-24 15:23:24.000000000 -0400 @@ -155,7 +155,7 @@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ +CFLAGS = @CFLAGS@ -fPIC CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ diff -ur prelude-lml-0.9.12.2.orig/src/Makefile.in prelude-lml-0.9.12.2/src/Makefile.in --- prelude-lml-0.9.12.2.orig/src/Makefile.in 2008-04-24 14:08:17.000000000 -0400 +++ prelude-lml-0.9.12.2/src/Makefile.in 2008-04-24 15:24:31.000000000 -0400 @@ -489,7 +489,7 @@ target_vendor = @target_vendor@ SUBDIRS = include AM_CPPFLAGS = -I$(srcdir)/include/ -I$(top_srcdir)/libmissing @LIBPRELUDE_CFLAGS@ @PCRE_CFLAGS@ @FAM_CFLAGS@ -AM_CFLAGS = @GLOBAL_CFLAGS@ +AM_CFLAGS = @GLOBAL_CFLAGS@ -fPIE -DPIE prelude_lml_LDADD = @LIBPRELUDE_LIBS@ @PCRE_LIBS@ @FAM_LIBS@ $(top_builddir)/libmissing/libmissing.la prelude_lml_LDFLAGS = @LIBPRELUDE_LDFLAGS@ @FAM_LDFLAGS@ -export-dynamic \ "-dlopen" $(top_builddir)/plugins/debug/debug.la \