From 2d10446c47c348fbb8c32193354763331743ba14 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 23 Aug 2024 03:24:54 +0000 Subject: automatic import of gc --- gc.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gc.spec') diff --git a/gc.spec b/gc.spec index 43cb398..877f2f0 100644 --- a/gc.spec +++ b/gc.spec @@ -1,6 +1,6 @@ Name: gc Version: 8.2.6 -Release: 3 +Release: 2 Summary: A garbage collector for C and C++ License: BSD-3-Clause Url: http://www.hboehm.info/gc/ @@ -10,6 +10,7 @@ Patch2: 0001-add-loongarch-architecture.patch BuildRequires: gcc-c++ BuildRequires: autoconf automake libtool +BuildRequires: pkgconfig(atomic_ops) %description The Boehm-Demers-Weiser conservative garbage collector can be @@ -38,7 +39,8 @@ CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS --disable-docs \ --enable-cplusplus \ --enable-large-config \ - --enable-threads=posix + --enable-threads=posix \ + --with-libatomic-ops=yes %{make_build} @@ -75,9 +77,6 @@ rm -rfv %{buildroot}%{_datadir}/gc/ %{_mandir}/man3/gc.3* %changelog -* Fri Aug 23 2024 Funda Wang - 8.2.6-3 -- do not build aginst system atomic_ops per suggested upstream - * Thu Aug 15 2024 Funda Wang - 8.2.6-2 - move libgctba.so into devel package - build against system atomic_ops -- cgit v1.2.3