diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-12-21 14:14:52 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-12-21 14:15:24 +0000 |
commit | 8876762849a7fca3997c401d93f643dc216edee0 (patch) | |
tree | 0ab33718bbc8580abcf8545aa53af8999b816e32 | |
parent | 963156e8a2f09684fca8fd0b9890a913adb36e6d (diff) | |
download | aports-8876762849a7fca3997c401d93f643dc216edee0.tar.bz2 aports-8876762849a7fca3997c401d93f643dc216edee0.tar.xz |
main/libgc: fix musl build
-rw-r--r-- | main/gc/APKBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/gc/APKBUILD b/main/gc/APKBUILD index 3ccf6e513a..c5ed0487db 100644 --- a/main/gc/APKBUILD +++ b/main/gc/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gc pkgver=7.2d -pkgrel=0 +pkgrel=1 pkgdesc="A garbage collector for C and C++" url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" arch="all" @@ -27,6 +27,7 @@ prepare() { build() { cd "$_builddir" + [ "$CLIBC" == "musl" ] && export CFLAGS="$CFLAGS -D_GNU_SOURCE -DNO_GETCONTEXT -DUSE_MMAP" ./configure \ --build=$CBUILD \ --host=$CHOST \ |