From 538b3bfcf1eaef23d120baec2d4619e9eeb95f464d1f7886c019d62653a2ec4c Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski Date: Mon, 29 Aug 2011 15:13:53 +0000 Subject: [PATCH] Accepting request 76554 from home:elvigia:branches:network:dhcp - Correct previous change. - THis is a long running network daemon, link with full RELRO security enhancements. - remove -fno-strict-aliasing from CFLAGS, no longer needed. OBS-URL: https://build.opensuse.org/request/show/76554 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=74 --- dhcp.changes | 12 ++++++++++++ dhcp.spec | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dhcp.changes b/dhcp.changes index 4713a59..e0c835a 100644 --- a/dhcp.changes +++ b/dhcp.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Jul 20 18:53:07 UTC 2011 - crrodriguez@opensuse.org + +- Correct previous change. + +------------------------------------------------------------------- +Wed Jul 20 04:45:40 UTC 2011 - crrodriguez@opensuse.org + +- THis is a long running network daemon, link with + full RELRO security enhancements. +- remove -fno-strict-aliasing from CFLAGS, no longer needed. + ------------------------------------------------------------------- Tue May 17 03:58:24 UTC 2011 - crrodriguez@opensuse.org diff --git a/dhcp.spec b/dhcp.spec index 0f5a833..2fb7afa 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -234,7 +234,7 @@ find . -type f -name \*.cat\* -exec rm -f {} \; dos2unix contrib/ms2isc/* %build -CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -W -Wall -fno-strict-aliasing -Wno-unused" +CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -W -Wall -Wno-unused" %ifarch ppc ppc64 s390x # bugs 134590, 171532 CFLAGS="$CFLAGS -fsigned-char" @@ -244,7 +244,7 @@ CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -W -Wall -fno-strict-aliasing -Wno-unused" %else CFLAGS="$CFLAGS -fpie" %endif -LDFLAGS="-pie" +LDFLAGS="-Wl,-z,relro,-z,now -pie" FFLAGS="$CFLAGS" CXXFLAGS="$CFLAGS" export RPM_OPT_FLAGS LDFLAGS