From b50fd89648859fe828897474cca45d958a2b2a9d Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 15 Jan 2020 09:46:49 -0600 Subject: [PATCH] drop libatomic_ops dep --- gc.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gc.spec b/gc.spec index 7b03f0f..1199c6a 100644 --- a/gc.spec +++ b/gc.spec @@ -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 - 8.0.4-2 +- drop libatomic_ops dep + * Wed Jan 15 2020 Rex Dieter - 8.0.4-1 - 8.0.4 - %%build: --with-libatomic-ops=yes