summaryrefslogtreecommitdiff
path: root/user/gc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/gc/APKBUILD')
-rw-r--r--user/gc/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/user/gc/APKBUILD b/user/gc/APKBUILD
index c367f4063..1590922f2 100644
--- a/user/gc/APKBUILD
+++ b/user/gc/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gc
-pkgver=8.0.6
+pkgver=8.2.2
pkgrel=0
pkgdesc="A garbage collector for C and C++"
url="https://hboehm.info/gc/"
@@ -12,9 +12,6 @@ subpackages="$pkgname-dev $pkgname-doc libgc++:libgccpp"
source="https://github.com/ivmai/bdwgc/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
build() {
- if [ "$CLIBC" = "musl" ]; then
- export CFLAGS="$CFLAGS -D_GNU_SOURCE -DNO_GETCONTEXT -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
- fi
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,7 +35,7 @@ package() {
libgccpp() {
install -d "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/libgccpp.* "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/lib/libgccpp.* "$pkgdir"/usr/lib/libgctba.* "$subpkgdir"/usr/lib/
}
-sha512sums="2ea25003d585118e3ac0e12be9240e8195db511c6e94949f20453dc3cb771380bd5b956c04243b2a8ce31508587aa32de4f0f10a813577e6dbe8367688b7614e gc-8.0.6.tar.gz"
+sha512sums="4a7b26789ce22ab72bfaadf3029362c5fe26737df1e856e43db7d9b24ee8acf625e35d596bb3f698f91d6a5ddfb6c45a952a1dbd18d47359569696a544c9c248 gc-8.2.2.tar.gz"