[Buildroot] [git commit branch/2018.02.x] package/gdb: disable inprocess-agent in static build

Peter Korsgaard peter at korsgaard.com
Wed Mar 13 16:47:56 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=7eeed688129f4af68ca4de4043f06dd845da32ec
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.02.x

Fixes:
 - http://autobuild.buildroot.org/results/b40bdbca6669a81301fca523e982dbc9584a4e65

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 2a01a328195090c45d2b2407680cbf567f547643)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/gdb/gdb.mk | 5 +++++
 1 file changed, 5 insertions(+)

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


More information about the buildroot mailing list