]> git.ipfire.org Git - ipfire-3.x.git/blob - gc/gc.nm
kernel: Update to 5.3.7
[ipfire-3.x.git] / gc / gc.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = gc
7 version = 7.4.2
8 release = 1.1
9
10 groups = System/Libraries
11 url = http://www.hboehm.info/gc/
12 license = BSD
13 summary = A garbage collector for C and C++.
14
15 description
16 The Boehm-Demers-Weiser conservative garbage collector can be
17 used as a garbage collecting replacement for C malloc or C++ new.
18 end
19
20 source_dl = http://www.hboehm.info/gc/gc_source/
21
22 build
23 requires
24 autoconf
25 automake
26 libatomic_ops-devel
27 libtool
28 end
29
30 # bugzilla.redhat.com/689877
31 export CPPFLAGS = -DUSE_GET_STACKBASE_FOR_MAIN
32
33 prepare_cmds
34 rm -f libtool libtool.m4
35 autoreconf -vfi
36 end
37
38 configure_options += \
39 --disable-static \
40 --enable-cplusplus \
41 --enable-large-config \
42 --enable-threads=posix
43
44 if "%{DISTRO_PLATFORM}" == "x86"
45 configure_options += --enable-parallel-mark
46 end
47
48 test
49 # Disabled because gctest hangs for ever on armv5tel
50 #make check
51 end
52
53 install_cmds
54 rm -rvf %{BUILDROOT}%{datadir}/gc
55 end
56 end
57
58 packages
59 package %{name}
60
61 package %{name}-devel
62 template DEVEL
63 end
64
65 package %{name}-debuginfo
66 template DEBUGINFO
67 end
68 end