Reenable hardened build

The static linking issue has been fixed with an addition to the GCC
specs file in redhat-rpm-config-54-1.
This commit is contained in:
Florian Weimer 2018-02-24 20:26:10 +01:00
parent 0da9aef77a
commit fe852db4a4

View File

@ -3,11 +3,6 @@
%global debug_package %{nil}
%endif
# _hardened_build breaks building the static 'init' binary.
# https://bugzilla.redhat.com/show_bug.cgi?id=1202091
# https://bugzilla.redhat.com/show_bug.cgi?id=1204162
%undefine _hardened_build
# On architectures that support it, the default is ``--with dietlibc''.
#
# To use glibc-static instead, do ``--without dietlibc''. This
@ -31,7 +26,7 @@
Summary: Tool for creating supermin appliances
Name: supermin
Version: 5.1.19
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+
%if 0%{?rhel} >= 7
@ -173,6 +168,9 @@ make check || {
%changelog
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 5.1.19-4
- Reenable hardened build
* Tue Feb 13 2018 Richard W.M. Jones <rjones@redhat.com> - 5.1.19-3
- Fix bytes/string problems.