25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
|
diff -up cyrus-sasl-2.1.25/lib/Makefile.am.relro cyrus-sasl-2.1.25/lib/Makefile.am
|
||
|
--- cyrus-sasl-2.1.25/lib/Makefile.am.relro 2011-09-05 16:18:10.000000000 +0200
|
||
|
+++ cyrus-sasl-2.1.25/lib/Makefile.am 2012-12-07 12:49:13.693026807 +0100
|
||
|
@@ -62,7 +62,7 @@ LIB_DOOR= @LIB_DOOR@
|
||
|
lib_LTLIBRARIES = libsasl2.la
|
||
|
|
||
|
libsasl2_la_SOURCES = $(common_sources) $(common_headers)
|
||
|
-libsasl2_la_LDFLAGS = -version-info $(sasl_version)
|
||
|
+libsasl2_la_LDFLAGS = -Wl,-z,relro -version-info $(sasl_version)
|
||
|
libsasl2_la_DEPENDENCIES = $(LTLIBOBJS)
|
||
|
libsasl2_la_LIBADD = $(LTLIBOBJS) $(SASL_DL_LIB) $(LIB_SOCKET) $(LIB_DOOR)
|
||
|
|
||
|
diff -up cyrus-sasl-2.1.25/plugins/Makefile.am.relro cyrus-sasl-2.1.25/plugins/Makefile.am
|
||
|
--- cyrus-sasl-2.1.25/plugins/Makefile.am.relro 2011-09-05 16:18:10.000000000 +0200
|
||
|
+++ cyrus-sasl-2.1.25/plugins/Makefile.am 2012-12-07 12:56:16.916231903 +0100
|
||
|
@@ -49,7 +49,7 @@
|
||
|
plugin_version = 2:25:0
|
||
|
|
||
|
INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/sasldb -I$(top_builddir)/include
|
||
|
-AM_LDFLAGS = -module -export-dynamic -rpath $(plugindir) -version-info $(plugin_version)
|
||
|
+AM_LDFLAGS = -Wl,-z,relro -module -export-dynamic -rpath $(plugindir) -version-info $(plugin_version)
|
||
|
|
||
|
COMPAT_OBJS = @LTGETADDRINFOOBJS@ @LTGETNAMEINFOOBJS@ @LTSNPRINTFOBJS@
|
||
|
|