Blob Blame Raw
diff -ur prelude-lml-1.0.0rc1.orig/configure prelude-lml-1.0.0rc1/configure
--- prelude-lml-1.0.0rc1.orig/configure	2010-01-30 09:43:34.000000000 -0500
+++ prelude-lml-1.0.0rc1/configure	2010-01-30 09:45:42.000000000 -0500
@@ -45763,7 +45763,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-1.0.0rc1.orig/plugins/pcre/Makefile.in prelude-lml-1.0.0rc1/plugins/pcre/Makefile.in
--- prelude-lml-1.0.0rc1.orig/plugins/pcre/Makefile.in	2010-01-30 09:43:34.000000000 -0500
+++ prelude-lml-1.0.0rc1/plugins/pcre/Makefile.in	2010-01-30 09:45:42.000000000 -0500
@@ -249,7 +249,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-1.0.0rc1.orig/src/Makefile.in prelude-lml-1.0.0rc1/src/Makefile.in
--- prelude-lml-1.0.0rc1.orig/src/Makefile.in	2010-01-30 09:43:34.000000000 -0500
+++ prelude-lml-1.0.0rc1/src/Makefile.in	2010-01-30 09:46:37.000000000 -0500
@@ -905,7 +905,7 @@
 top_srcdir = @top_srcdir@
 SUBDIRS = include
 AM_CPPFLAGS = -I$(srcdir)/include/ -I$(top_srcdir)/libmissing -I$(top_builddir)/libmissing -I$(top_srcdir)/libev @LIBPRELUDE_CFLAGS@ @PCRE_CFLAGS@ @ICU_CPPFLAGS@
-AM_CFLAGS = @GLOBAL_CFLAGS@
+AM_CFLAGS = @GLOBAL_CFLAGS@ -fPIE -DPIE
 prelude_lml_LDADD = @LIBPRELUDE_LIBS@ @PCRE_LIBS@ @ICU_LIBS@ $(top_builddir)/libev/libev.la $(top_builddir)/libmissing/libmissing.la $(GETADDRINFO_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(LIBSOCKET) $(LTLIBICONV) $(LTLIBINTL) $(SERVENT_LIB)
 prelude_lml_LDFLAGS = @LIBPRELUDE_LDFLAGS@ -export-dynamic \
         "-dlopen" $(top_builddir)/plugins/debug/debug.la \