From 26cbcabb59ae3711b9aa013392ecea6dded29665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 21 Feb 2018 19:11:48 +0100 Subject: [PATCH] Use default RPM build flags and configure parameters (#1539097) --- unbound.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/unbound.spec b/unbound.spec index d6632cc..3c3ed3b 100644 --- a/unbound.spec +++ b/unbound.spec @@ -158,13 +158,11 @@ cp -a %{pkgname}_python2 %{pkgname}_python3 %build # This is needed to rebuild the configure script to support Python 3.x # autoreconf -iv -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 script common arguments %global configure_args --with-libevent --with-pthreads --with-ssl \\\ --disable-rpath --disable-static \\\ + --enable-relro-now --enable-pie \\\ --enable-subnet --enable-ipsecmod \\\ --with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \\\ --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid \\\ @@ -439,6 +437,7 @@ popd %changelog * Wed Feb 21 2018 Petr Menšík - 1.6.8-4 - Remove group writable bit from some config files (#1528445) +- Use default RPM build flags and configure parameters (#1539097) * Wed Feb 14 2018 Filipe Rosset - 1.6.8-3 - rebuilt due new libevent 2.1.8