69 lines
1.4 KiB
Plaintext
69 lines
1.4 KiB
Plaintext
###############################################################################
|
|
# IPFire.org - An Open Source Firewall Solution #
|
|
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
|
###############################################################################
|
|
|
|
name = gc
|
|
version = 7.4.2
|
|
release = 1.1
|
|
|
|
groups = System/Libraries
|
|
url = http://www.hboehm.info/gc/
|
|
license = BSD
|
|
summary = A garbage collector for C and C++.
|
|
|
|
description
|
|
The Boehm-Demers-Weiser conservative garbage collector can be
|
|
used as a garbage collecting replacement for C malloc or C++ new.
|
|
end
|
|
|
|
source_dl = http://www.hboehm.info/gc/gc_source/
|
|
|
|
build
|
|
requires
|
|
autoconf
|
|
automake
|
|
libatomic_ops-devel
|
|
libtool
|
|
end
|
|
|
|
# bugzilla.redhat.com/689877
|
|
export CPPFLAGS = -DUSE_GET_STACKBASE_FOR_MAIN
|
|
|
|
prepare_cmds
|
|
rm -f libtool libtool.m4
|
|
autoreconf -vfi
|
|
end
|
|
|
|
configure_options += \
|
|
--disable-static \
|
|
--enable-cplusplus \
|
|
--enable-large-config \
|
|
--enable-threads=posix
|
|
|
|
if "%{DISTRO_PLATFORM}" == "x86"
|
|
configure_options += --enable-parallel-mark
|
|
end
|
|
|
|
test
|
|
# Disabled because gctest hangs for ever on armv5tel
|
|
#make check
|
|
end
|
|
|
|
install_cmds
|
|
rm -rvf %{BUILDROOT}%{datadir}/gc
|
|
end
|
|
end
|
|
|
|
packages
|
|
package %{name}
|
|
|
|
package %{name}-devel
|
|
template DEVEL
|
|
end
|
|
|
|
package %{name}-debuginfo
|
|
template DEBUGINFO
|
|
end
|
|
end
|