diff options
Diffstat (limited to 'main/gc/APKBUILD')
-rw-r--r-- | main/gc/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/gc/APKBUILD b/main/gc/APKBUILD index 52f7bbb55..57bd0e04e 100644 --- a/main/gc/APKBUILD +++ b/main/gc/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gc pkgver=7.4.2 -pkgrel=0 +pkgrel=1 pkgdesc="A garbage collector for C and C++" url="http://hboehm.info/gc/" arch="all" @@ -25,13 +25,14 @@ prepare() { build() { cd "$_builddir" - [ "$CLIBC" == "musl" ] && export CFLAGS="$CFLAGS -D_GNU_SOURCE -DNO_GETCONTEXT -DUSE_MMAP" + [ "$CLIBC" = "musl" ] && export CFLAGS="$CFLAGS -D_GNU_SOURCE -DNO_GETCONTEXT -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --datadir=/usr/share/doc/gc \ --enable-cplusplus \ + --disable-static \ || return 1 make || return 1 } |