Disable libunwind on unsupported arches.

epel9
Elliott Sales de Andrade 6 years ago
parent 9e5b263a81
commit 3fa0303d29

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

Loading…
Cancel
Save