Use default RPM build flags and configure parameters (#1539097)
This commit is contained in:
parent
3d0bac0df2
commit
26cbcabb59
@ -158,13 +158,11 @@ cp -a %{pkgname}_python2 %{pkgname}_python3
|
|||||||
%build
|
%build
|
||||||
# This is needed to rebuild the configure script to support Python 3.x
|
# This is needed to rebuild the configure script to support Python 3.x
|
||||||
# autoreconf -iv
|
# 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
|
# ./configure script common arguments
|
||||||
%global configure_args --with-libevent --with-pthreads --with-ssl \\\
|
%global configure_args --with-libevent --with-pthreads --with-ssl \\\
|
||||||
--disable-rpath --disable-static \\\
|
--disable-rpath --disable-static \\\
|
||||||
|
--enable-relro-now --enable-pie \\\
|
||||||
--enable-subnet --enable-ipsecmod \\\
|
--enable-subnet --enable-ipsecmod \\\
|
||||||
--with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \\\
|
--with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \\\
|
||||||
--with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid \\\
|
--with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid \\\
|
||||||
@ -439,6 +437,7 @@ popd
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 21 2018 Petr Menšík <pemensik@redhat.com> - 1.6.8-4
|
* Wed Feb 21 2018 Petr Menšík <pemensik@redhat.com> - 1.6.8-4
|
||||||
- Remove group writable bit from some config files (#1528445)
|
- Remove group writable bit from some config files (#1528445)
|
||||||
|
- Use default RPM build flags and configure parameters (#1539097)
|
||||||
|
|
||||||
* Wed Feb 14 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.6.8-3
|
* Wed Feb 14 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.6.8-3
|
||||||
- rebuilt due new libevent 2.1.8
|
- rebuilt due new libevent 2.1.8
|
||||||
|
Loading…
Reference in New Issue
Block a user