Patches for aports can be sent to this list

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

Details
Message ID
<20180124003639.24945-1-sir@cmpwn.com>
Sender timestamp
1516754199
DKIM signature
missing
Download raw message
Patch: +2 -5
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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---