diff --git a/unbound.spec b/unbound.spec index b105c0a..eed2288 100644 --- a/unbound.spec +++ b/unbound.spec @@ -109,9 +109,6 @@ Python modules and extensions for unbound %patch1 -p1 %build -export LDFLAGS="-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" -export CFLAGS="$RPM_OPT_FLAGS -fPIE -pie" -export CXXFLAGS="$RPM_OPT_FLAGS -fPIE -pie" %configure --with-ldns= --with-libevent --with-pthreads --with-ssl \ --disable-rpath --disable-static \ --with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \ @@ -279,6 +276,7 @@ exit 0 %changelog * Wed Jul 03 2013 Tomas Hozza - 1.4.20-14 - remove missing unbound-rootkey.service from post/preun/postun sections +- don't hardcode hardening flags, let hardened build macro handles it * Sat Jun 01 2013 Paul Wouters - 1.4.20-13 - Run unbound-anchor as user unbound in unbound.service