Blame SOURCES/tcp_wrappers-7.6-relro.patch

23cc51
diff -up tcp_wrappers_7.6/Makefile.relro tcp_wrappers_7.6/Makefile
23cc51
--- tcp_wrappers_7.6/Makefile.relro	2011-08-10 03:33:25.457892277 +0200
23cc51
+++ tcp_wrappers_7.6/Makefile	2011-08-10 03:33:39.565892352 +0200
23cc51
@@ -726,7 +726,7 @@ $(LIB):	$(LIB_OBJ)
23cc51
 	-$(RANLIB) $(LIB)
23cc51
 
23cc51
 $(SHLIB): $(LIB_OBJ)
23cc51
-	gcc -shared -fPIC -Wl,-soname -Wl,$(SHLIB).$(MAJOR) \
23cc51
+	gcc -shared -fPIC -Wl,-z,relro -Wl,-soname -Wl,$(SHLIB).$(MAJOR) \
23cc51
 		-o $(SHLIB).$(MAJOR).$(MINOR).$(REL) $^ $(LIBS)
23cc51
 	ln -s $(SHLIB).$(MAJOR).$(MINOR).$(REL) $(SHLIB).$(MAJOR)
23cc51
 	ln -s $(SHLIB).$(MAJOR).$(MINOR).$(REL) $(SHLIB)