Enable dietlibc on aarch64 and POWER.

This commit is contained in:
Richard W.M. Jones 2017-03-18 13:08:01 -04:00
parent f5ad0a15f0
commit 3c79fab8c6

View File

@ -8,7 +8,7 @@
# https://bugzilla.redhat.com/show_bug.cgi?id=1204162
%undefine _hardened_build
# On armv7 and x86, the default is ``--with dietlibc''.
# On architectures that support it, the default is ``--with dietlibc''.
#
# To use glibc-static instead, do ``--without dietlibc''. This
# results in a much larger (about 40 times larger) init binary.
@ -19,7 +19,7 @@
# See also:
# https://github.com/libguestfs/supermin/commit/9bb57e1a8d0f3b57eb09f65dd574f702b67e1c2f
%ifarch %{arm} %{ix86} x86_64 s390x
%ifarch aarch64 %{arm} %{ix86} %{power} s390x x86_64
%bcond_without dietlibc
%else
%bcond_with dietlibc
@ -31,7 +31,7 @@
Summary: Tool for creating supermin appliances
Name: supermin
Version: 5.1.17
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2+
%if 0%{?rhel} >= 7
@ -170,6 +170,9 @@ make check || {
%changelog
* Sat Mar 18 2017 Richard W.M. Jones <rjones@redhat.com> - 5.1.17-5
- Enable dietlibc on aarch64 and POWER.
* Fri Mar 17 2017 Richard W.M. Jones <rjones@redhat.com> - 5.1.17-4
- Drop dependency on hawkey and versioned dependencies on dnf.