]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame_incremental - gc/gc.nm
glibc: Disable multilib support on X86_64
[people/stevee/ipfire-3.x.git] / gc / gc.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = gc
7version = 7.4.2
8release = 1.1
9
10groups = System/Libraries
11url = http://www.hboehm.info/gc/
12license = BSD
13summary = A garbage collector for C and C++.
14
15description
16 The Boehm-Demers-Weiser conservative garbage collector can be
17 used as a garbage collecting replacement for C malloc or C++ new.
18end
19
20source_dl = http://www.hboehm.info/gc/gc_source/
21
22build
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
56end
57
58packages
59 package %{name}
60
61 package %{name}-devel
62 template DEVEL
63 end
64
65 package %{name}-debuginfo
66 template DEBUGINFO
67 end
68end