diff options
Diffstat (limited to 'main/libunwind')
-rw-r--r-- | main/libunwind/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/libunwind/APKBUILD b/main/libunwind/APKBUILD index 80ea003530..0e78799180 100644 --- a/main/libunwind/APKBUILD +++ b/main/libunwind/APKBUILD @@ -3,10 +3,10 @@ pkgname=libunwind pkgver=1.2.1 _pkgver=${pkgver/_/-} -pkgrel=2 +pkgrel=3 pkgdesc="Portable and efficient C programming interface (API) to determine the call-chain of a program" url="http://www.nongnu.org/libunwind/" -arch="all !s390x !x86 !ppc64le" +arch="all !s390x !ppc64le" license="MIT" depends="" depends_dev="libexecinfo-dev" @@ -21,9 +21,11 @@ builddir="$srcdir/$pkgname-$_pkgver" build() { cd "$builddir" + sed -i -e '/^SUBDIRS/s:tests::' Makefile.am autoreconf -f -i - LDFLAGS="-lexecinfo" ./configure \ + LDFLAGS="-lexecinfo" CFLAGS="$CFLAGS -fno-stack-protector" \ + ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ |