summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-03-03 21:01:13 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-06 23:52:57 +0000
commit1490caa07d72af81c7e515e4ff7b4905da840d7d (patch)
tree235fda5743478ea951b9584a802101ec667eb2b4 /meta/recipes-devtools/gdb/gdb.inc
parentaac3919f538a5608ffcc3af5bd8f121e3c2c3469 (diff)
downloadopenembedded-core-1490caa07d72af81c7e515e4ff7b4905da840d7d.tar.gz
gdb: fix builds with internal readline and no static libraries
If gdb was configured to use the internal readline but static libraries were disabled, gdb wouldn't dutifully not build libreadline.a which was a problem when it tried to link with that library. Solve this by ensuring --enable-static is passed to the readline configure. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb.inc')
-rw-r--r--meta/recipes-devtools/gdb/gdb.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index 1dd655180d..507f274fd8 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -7,6 +7,7 @@ SRC_URI += "file://0002-Change-order-of-CFLAGS.patch \
file://0001-Use-exported-definitions-of-SIGRTMIN.patch \
file://0001-include-sys-types.h-for-mode_t.patch \
file://0001-use-asm-sgidefs.h.patch \
+ file://force-readline-static.patch \
"
#LDFLAGS_append = " -s"
#export CFLAGS_append=" -L${STAGING_LIBDIR}"