Subject: [alpine-aports] [PATCH] main/gdb: enable gdbserver

From: Drew DeVault <[email-masked]>
Date: Tue, 23 Jan 2018 19:36:39 -0500

It compiles with musl now.
---
 main/gdb/APKBUILD | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD
index f11541547c..52bf244ad1 100644
--- a/main/gdb/APKBUILD
+++ b/main/gdb/APKBUILD
@@ -37,11 +37,8 @@ build () {
 	# 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"
-
-        # avoid generation of mangled and non-mangled objects on ppc64
-        [ "$CARCH" = ppc64le ] && _config="$_config --enable-build-with-cxx=no"
+	# avoid generation of mangled and non-mangled objects on ppc64
+	[ "$CARCH" = ppc64le ] && _config="$_config --enable-build-with-cxx=no"
 
 	./configure $_config || return 1
 	(cd opcodes && ./configure $_config) || return 1
-- 
2.15.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---