diff --git a/iputils.changes b/iputils.changes index 280403e..51aa5b3 100644 --- a/iputils.changes +++ b/iputils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 8 03:27:28 UTC 2013 - crrodriguez@opensuse.org + +- Build everythiong with full RELRO here. SUID code around.. + ------------------------------------------------------------------- Sat Mar 2 08:18:36 UTC 2013 - coolo@suse.com diff --git a/iputils.spec b/iputils.spec index b673cd7..524eb68 100644 --- a/iputils.spec +++ b/iputils.spec @@ -65,7 +65,7 @@ touch linux/autoconf.h %build make %{?_smp_mflags} KERNEL_INCLUDE=$PWD \ CCOPT='%optflags -fno-strict-aliasing -fpie -D_GNU_SOURCE' \ - LDLIBS='-pie -lcap -lresolv' \ + LDLIBS='-Wl,-z,relro,-z,now -pie -lcap -lresolv' \ CAPABILITIES=1 gcc $RPM_OPT_FLAGS -o ifenslave ifenslave.c