aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-02-22 10:50:44 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-13 17:47:56 +0100
commit7eeed688129f4af68ca4de4043f06dd845da32ec (patch)
treeea6bb8199e2b75cb7a3cbe5803a27f1a85181f2f
parent9760192fc3e9281f007f83123e7d6cb1bd09b6f5 (diff)
downloadbuildroot-7eeed688129f4af68ca4de4043f06dd845da32ec.tar.gz
buildroot-7eeed688129f4af68ca4de4043f06dd845da32ec.tar.bz2
package/gdb: disable inprocess-agent in static build
Fixes: - http://autobuild.buildroot.org/results/b40bdbca6669a81301fca523e982dbc9584a4e65 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 2a01a328195090c45d2b2407680cbf567f547643) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gdb/gdb.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 0981b6ef53..cfe79e2c52 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -128,6 +128,11 @@ ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
GDB_CONF_OPTS += --disable-build-with-cxx
endif
+# inprocess-agent can't be built statically
+ifeq ($(BR2_STATIC_LIBS),y)
+GDB_CONF_OPTS += --disable-inprocess-agent
+endif
+
ifeq ($(BR2_PACKAGE_GDB_TUI),y)
GDB_CONF_OPTS += --enable-tui
else