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 7f4c05e1ac
commit 9b04a9bbf4
1 changed files with 11 additions and 1 deletions

View File

@ -1,8 +1,9 @@
%bcond_without pgm
%bcond_without unwind
Name: zeromq
Version: 4.3.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Software library for fast, message-based applications
License: LGPLv3+
@ -17,7 +18,10 @@ BuildRequires: libtool
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: libsodium-devel
%if %{with unwind}
BuildRequires: libunwind-devel
%endif
%if %{with pgm}
BuildRequires: openpgm-devel
@ -63,7 +67,9 @@ autoreconf -fi
--with-libgssapi_krb5 \
%endif
--with-libsodium \
%if %{with unwind}
--enable-libunwind \
%endif
--disable-Werror \
--disable-static
%make_build
@ -101,6 +107,10 @@ make check V=1 || ( cat test-suite.log && exit 1 )
%changelog
* Tue Mar 07 2023 Ben Woodard <woodard@redhat.com> - 4.3.4-2
- disable building with libunwind to fix C++ exceptions when a C applicaion loads
a module written in C++ #2175966
* Thu Mar 03 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.4-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild