From 21e359146bab5bb0e76140f6dbad33325698f2f7 Mon Sep 17 00:00:00 2001 From: jorton Date: May 11 2006 13:44:41 +0000 Subject: - build DSOs using -z relro linker flag --- diff --git a/httpd.spec b/httpd.spec index cc98b0d..f4786ec 100644 --- a/httpd.spec +++ b/httpd.spec @@ -7,7 +7,7 @@ Summary: Apache HTTP Server Name: httpd Version: 2.2.2 -Release: 2 +Release: 3 URL: http://httpd.apache.org/ Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz Source1: index.html @@ -156,7 +156,8 @@ xmlto -x $RPM_SOURCE_DIR/html.xsl html-nochunks migration.xml cp $RPM_SOURCE_DIR/migration.css . # make %%doc happy CFLAGS=$RPM_OPT_FLAGS -export CFLAGS +SH_LDFLAGS="-Wl,-z,relro" +export CFLAGS SH_LDFLAGS function mpmbuild() { @@ -479,6 +480,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/httpd/build/*.sh %changelog +* Thu May 11 2006 Joe Orton 2.2.2-3 +- build DSOs using -z relro linker flag + * Wed May 3 2006 Joe Orton 2.2.2-2 - update to 2.2.2