diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-02-29 23:17:20 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-01 08:01:31 +0000 |
commit | bd5c96f46e4bf4ebcf8df1b4d6977709646e6129 (patch) | |
tree | 5f0e4941639d27de9cc5ee72e55f43ae0b7ba9b2 | |
parent | 62e040d84cf4924e032eef198681fccdb54bba4b (diff) | |
download | aports-bd5c96f46e4bf4ebcf8df1b4d6977709646e6129.tar.bz2 aports-bd5c96f46e4bf4ebcf8df1b4d6977709646e6129.tar.xz |
main/gdb: use system zlib
-rw-r--r-- | main/gdb/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD index 2d90fe20aa..3b7b80aba3 100644 --- a/main/gdb/APKBUILD +++ b/main/gdb/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gdb pkgver=7.11 -pkgrel=0 +pkgrel=1 pkgdesc="The GNU Debugger" url="http://sources.redhat.com/gdb/" arch="all" license="GPL3" depends= makedepends="ncurses-dev expat-dev texinfo readline-dev python-dev - autoconf automake libtool linux-headers" + zlib-dev autoconf automake libtool linux-headers" subpackages="$pkgname-doc" source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz " @@ -41,6 +41,9 @@ build () { # use system readline if not cross compiling [ "$CBUILD" = "$CHOST" ] && _config="$_config --with-system-readline" + # use system zlib if not cross compiling + [ "$CBUILD" = "$CHOST" ] && _config="$_config --with-system-zlib" + # gdb server does not compile with musl [ "$CTARGET_LIBC" = musl ] && _config="$_config --disable-gdbserver" |