From 1f6216d991bce5b6df02a7934ae17912313ab0d9 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Thu, 18 Jul 2019 05:55:06 -0400 Subject: user/musl-obstack: rebuild as PIC --- user/musl-obstack/APKBUILD | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'user/musl-obstack') 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 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 } -- cgit v1.2.3-70-g09d2