aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdb/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gdb/APKBUILD')
-rw-r--r--main/gdb/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD
index b0130466c0..f814283946 100644
--- a/main/gdb/APKBUILD
+++ b/main/gdb/APKBUILD
@@ -49,7 +49,7 @@ build () {
[ "$CBUILD" = "$CHOST" ] && _config="$_config --with-system-readline"
# gdb server does not compile with musl
- [ "${CHOST#*musl}" != "$CHOST" ] && _config="$_config --disable-gdbserver"
+ [ "$CTARGET_LIBC" = musl ] && _config="$_config --disable-gdbserver"
./configure $_config || return 1
(cd opcodes && ./configure $_config) || return 1