1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
7 version = %{major_ver}d
11 groups = System/Libraries
12 url = http://www.hpl.hp.com/personal/Hans_Boehm/gc/
14 summary = A garbage collector for C and C++.
17 The Boehm-Demers-Weiser conservative garbage collector can be
18 used as a garbage collecting replacement for C malloc or C++ new.
21 source_dl = http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
30 DIR_APP = %{DIR_SRC}/%{name}-%{major_ver}
32 # bugzilla.redhat.com/689877
33 export CPPFLAGS = -DUSE_GET_STACKBASE_FOR_MAIN
36 rm -f libtool libtool.m4
40 configure_options += \
43 --enable-large-config \
44 --enable-threads=posix \
45 --with-libatomic-ops=no
47 if "%{DISTRO_PLATFORM}" == "x86"
48 configure_options += --enable-parallel-mark
52 # Disabled because gctest hangs forever.
57 rm -rvf %{BUILDROOT}%{datadir}/gc
68 package %{name}-debuginfo