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