aboutsummaryrefslogtreecommitdiffstats
path: root/main/libunwind
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-12-27 12:53:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-12-27 13:02:08 +0000
commitda3e95d41f1e6af099276f08a5ea2874f5bf1ba0 (patch)
tree098a1b6849f21619e6ed0694aa0fc099e33df101 /main/libunwind
parenta506031ab536154f83c0162f9c30cdee32282800 (diff)
downloadaports-da3e95d41f1e6af099276f08a5ea2874f5bf1ba0.tar.bz2
aports-da3e95d41f1e6af099276f08a5ea2874f5bf1ba0.tar.xz
main/libunwind: enable for x86
we need to disable stack protector
Diffstat (limited to 'main/libunwind')
-rw-r--r--main/libunwind/APKBUILD8
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 \