summaryrefslogtreecommitdiff
path: root/user/musl-obstack
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-18 05:55:06 -0400
committerMax Rees <maxcrees@me.com>2019-08-07 17:56:42 -0500
commit1f6216d991bce5b6df02a7934ae17912313ab0d9 (patch)
tree15d0bd8ff1f32c835bbad0a6093f7e51ff4582f6 /user/musl-obstack
parent5c572c8c2013c5833d041ea4411a189d85f312fa (diff)
downloadpackages-1f6216d991bce5b6df02a7934ae17912313ab0d9.tar.gz
packages-1f6216d991bce5b6df02a7934ae17912313ab0d9.tar.bz2
packages-1f6216d991bce5b6df02a7934ae17912313ab0d9.tar.xz
packages-1f6216d991bce5b6df02a7934ae17912313ab0d9.zip
user/musl-obstack: rebuild as PIC
Diffstat (limited to 'user/musl-obstack')
-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
}