summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/musl-obstack/APKBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/user/musl-obstack/APKBUILD b/user/musl-obstack/APKBUILD
index a7466fc96..47ca39a43 100644
--- a/user/musl-obstack/APKBUILD
+++ b/user/musl-obstack/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=musl-obstack
pkgver=1.1
-pkgrel=0
+pkgrel=1
pkgdesc="Standalone library to implement obstack functionality"
url=" "
arch="all"
@@ -13,7 +13,7 @@ subpackages="$pkgname-dev"
source="musl-obstack-$pkgver.tar.gz::https://github.com/pullmoll/musl-obstack/archive/v$pkgver.tar.gz"
build() {
- cd "$builddir"
+ export CFLAGS="$CFLAGS -fPIC"
./bootstrap.sh
./configure \
--build=$CBUILD \
@@ -26,12 +26,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}