aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/configure b/gdb/configure
index 5aa226f..0d331c3 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -22646,8 +22646,8 @@ subdirs="$subdirs multi-ice"
fi
-# We only build gdbserver automatically if host and target are the same.
-if test "x$target" = "x$host"; then
+# We only build gdbserver automatically in a native configuration.
+if test "$gdb_native" = "yes"; then
echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
if test "x$build_gdbserver" = xyes; then