summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjorton <jorton@fedoraproject.org>2006-05-11 13:44:41 +0000
committerjorton <jorton@fedoraproject.org>2006-05-11 13:44:41 +0000
commit21e359146bab5bb0e76140f6dbad33325698f2f7 (patch)
tree8db1d0f94b5003f7d9891d0785c31b6300b40989
parentd2bf1a2666d7019ebe719cc39db438519ef8e918 (diff)
downloadhttpd-21e359146bab5bb0e76140f6dbad33325698f2f7.tar.gz
httpd-21e359146bab5bb0e76140f6dbad33325698f2f7.tar.xz
httpd-21e359146bab5bb0e76140f6dbad33325698f2f7.zip
- build DSOs using -z relro linker flaghttpd-2_2_2-3
-rw-r--r--httpd.spec8
1 files changed, 6 insertions, 2 deletions
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 <jorton@redhat.com> 2.2.2-3
+- build DSOs using -z relro linker flag
+
* Wed May 3 2006 Joe Orton <jorton@redhat.com> 2.2.2-2
- update to 2.2.2