disable building with libunwind to fix C++ exceptions when a C applicaion loads

a module written in C++ #2175966
This commit is contained in:
Ben Woodard 2023-03-07 12:34:18 -08:00 committed by Denis Arnaud
parent cc57315b80
commit 87d2b23d7a
1 changed files with 10 additions and 4 deletions

View File

@ -1,17 +1,15 @@
%bcond_without pgm
%bcond_without unwind
Name: zeromq
Version: 4.3.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Software library for fast, message-based applications
License: LGPLv3+
URL: https://zeromq.org
Source0: https://github.com/%{name}/libzmq/archive/v%{version}/libzmq-%{version}.tar.gz
# For some reason, a test is failing on aarch64
#ExcludeArch: aarch64
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
@ -20,9 +18,11 @@ BuildRequires: libtool
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: libsodium-devel
%if %{with unwind}
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
BuildRequires: libunwind-devel
%endif
%endif
%if %{with pgm}
BuildRequires: openpgm-devel
@ -68,8 +68,10 @@ autoreconf -fi
--with-libgssapi_krb5 \
%endif
--with-libsodium \
%if %{with unwind}
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
--enable-libunwind \
%endif
%endif
--disable-Werror \
--disable-static
@ -107,6 +109,10 @@ make check V=1 || ( cat test-suite.log && exit 1 )
%changelog
* Tue Mar 07 2023 Ben Woodard <woodard@redhat.com> - 4.3.4-3
- disable building with libunwind to fix C++ exceptions when a C applicaion loads
a module written in C++ #2175966
* Tue Feb 02 2021 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 4.3.4-2
- Re-added aarch64