drop libatomic_ops dep

This commit is contained in:
Rex Dieter 2020-01-15 09:46:49 -06:00
parent 190bf7e289
commit b50fd89648

11
gc.spec
View File

@ -2,7 +2,7 @@
Summary: A garbage collector for C and C++
Name: gc
Version: 8.0.4
Release: 1%{?dist}
Release: 2%{?dist}
License: BSD
Url: http://www.hboehm.info/gc/
@ -18,7 +18,8 @@ Patch100: gc-7.6.4-dont_disable_exceptions.patch
BuildRequires: automake libtool
BuildRequires: gcc-c++
BuildRequires: pkgconfig(atomic_ops) >= 7.4
## https://www.hboehm.info/gc/ says: "Starting with 8.0, libatomic_ops is only required if the compiler does not understand C atomics."
#BuildRequires: pkgconfig(atomic_ops) >= 7.4
BuildRequires: pkgconfig
# rpmforge compatibility
@ -58,8 +59,7 @@ CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
%ifarch %{ix86}
--enable-parallel-mark \
%endif
--enable-threads=posix \
--with-libatomic-ops=yes
--enable-threads=posix
%make_build
@ -107,6 +107,9 @@ make check %{?arch_ignore}
%changelog
* Wed Jan 15 2020 Rex Dieter <rdieter@fedoraproject.org> - 8.0.4-2
- drop libatomic_ops dep
* Wed Jan 15 2020 Rex Dieter <rdieter@fedoraproject.org> - 8.0.4-1
- 8.0.4
- %%build: --with-libatomic-ops=yes