9482c4
diff -up ./rpc.yppasswdd/Makefile.am.relro ./rpc.yppasswdd/Makefile.am
9482c4
--- ./rpc.yppasswdd/Makefile.am.relro	2013-04-11 11:25:34.000000000 +0200
9482c4
+++ ./rpc.yppasswdd/Makefile.am	2013-05-06 18:48:10.888711995 +0200
9482c4
@@ -24,6 +24,8 @@ sbin_PROGRAMS = rpc.yppasswdd
9482c4
 
9482c4
 rpc_yppasswdd_SOURCES = update.c yppasswd_xdr.c yppasswdd.c
9482c4
 
9482c4
+rpc_yppasswdd_LDFLAGS = -Wl,-z,relro,-z,now
9482c4
+
9482c4
 rpc_yppasswdd_LDADD =  @PIE_LDFLAGS@ $(top_builddir)/lib/libyp.a $(LIBDBM) $(LIBCRYPT) $(LIBSYSTEMD_DAEMON)
9482c4
 rpc_yppasswdd_CFLAGS = @PIE_CFLAGS@
9482c4
 
9482c4
diff -up ./rpc.ypxfrd/Makefile.am.relro ./rpc.ypxfrd/Makefile.am
9482c4
--- ./rpc.ypxfrd/Makefile.am.relro	2013-04-09 16:38:20.000000000 +0200
9482c4
+++ ./rpc.ypxfrd/Makefile.am	2013-05-06 18:46:36.455683217 +0200
9482c4
@@ -22,6 +22,8 @@ sbin_PROGRAMS = rpc.ypxfrd
9482c4
 
9482c4
 rpc_ypxfrd_SOURCES = ypxfrd.c ypxfrd_server.c ypxfrd_svc.c
9482c4
 
9482c4
+rpc_ypxfrd_LDFLAGS = -Wl,-z,relro,-z,now 
9482c4
+
9482c4
 rpc_ypxfrd_LDADD = @PIE_LDFLAGS@ $(top_builddir)/lib/libyp.a @LIBDBM@ $(LIBSYSTEMD_DAEMON)
9482c4
 rpc_ypxfrd_CFLAGS = @PIE_CFLAGS@
9482c4
 
9482c4
diff -up ./yppush/Makefile.am.relro ./yppush/Makefile.am
9482c4
--- ./yppush/Makefile.am.relro	2009-04-02 14:15:35.000000000 +0200
9482c4
+++ ./yppush/Makefile.am	2013-05-06 18:46:36.456683217 +0200
9482c4
@@ -21,6 +21,8 @@ sbin_PROGRAMS = yppush
9482c4
 
9482c4
 yppush_SOURCES = yppush.c
9482c4
 
9482c4
+yppush_LDFLAGS = -Wl,-z,relro,-z,now 
9482c4
+
9482c4
 yppush_LDADD =  @PIE_LDFLAGS@ @LIBDBM@  $(top_builddir)/lib/libyp.a
9482c4
 yppush_CFLAGS = @PIE_CFLAGS@
9482c4
 
9482c4
diff -up ./ypserv/Makefile.am.relro ./ypserv/Makefile.am
9482c4
--- ./ypserv/Makefile.am.relro	2013-04-09 16:38:20.000000000 +0200
9482c4
+++ ./ypserv/Makefile.am	2013-05-06 18:46:36.457683217 +0200
9482c4
@@ -22,6 +22,8 @@ sbin_PROGRAMS = ypserv
9482c4
 
9482c4
 ypserv_SOURCES = ypserv.c server.c ypserv_xdr.c reg_slp.c
9482c4
 
9482c4
+ypserv_LDFLAGS = -Wl,-z,relro,-z,now 
9482c4
+
9482c4
 ypserv_LDADD =  @PIE_LDFLAGS@ $(top_builddir)/lib/libyp.a @LIBDBM@ @LIBSLP@ $(LIBSYSTEMD_DAEMON)
9482c4
 ypserv_CFLAGS = @PIE_CFLAGS@
9482c4