Disable libunwind on unsupported arches.

This commit is contained in:
Elliott Sales de Andrade 2019-02-16 16:32:57 -05:00
parent 9e5b263a81
commit 3fa0303d29
1 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,7 @@
Name: zeromq
Version: 4.3.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Software library for fast, message-based applications
License: LGPLv3+
@ -14,7 +14,9 @@ BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: libsodium-devel
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
BuildRequires: libunwind-devel
%endif
%if %{with pgm}
BuildRequires: openpgm-devel
@ -60,7 +62,9 @@ autoreconf -fi
--with-libgssapi_krb5 \
%endif
--with-libsodium \
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
--enable-libunwind \
%endif
--disable-Werror \
--disable-static
%make_build
@ -94,6 +98,9 @@ make check V=1 || ( cat test-suite.log && exit 1 )
%changelog
* Sat Feb 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 4.3.1-3
- Disable libunwind on unsupported arches (#1676262)
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild