aboutsummaryrefslogtreecommitdiff
path: root/package/gdb/gdb.mk
diff options
context:
space:
mode:
authorGravatar Adam Duskett <Aduskett@gmail.com>2020-02-11 08:34:01 -0800
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-02-20 22:07:17 +0100
commitf0a583ddc4c2cab121330284e316f54229dee492 (patch)
tree366c876162e81a25edcd26335ca003a11516221f /package/gdb/gdb.mk
parent9c2126c963582ce0100745ca84de4cd2e6e4e212 (diff)
downloadbuildroot-f0a583ddc4c2cab121330284e316f54229dee492.tar.gz
buildroot-f0a583ddc4c2cab121330284e316f54229dee492.tar.bz2
package/gdb: depend on libiberty
If present, GDB may use a system installed libiberty. As such, we must ensure that host-libiberty is installed first. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'package/gdb/gdb.mk')
-rw-r--r--package/gdb/gdb.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 46d745a897..01f7e14460 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -35,7 +35,9 @@ endif
# For the host variant, we really want to build with XML support,
# which is needed to read XML descriptions of target architectures. We
# also need ncurses.
-HOST_GDB_DEPENDENCIES = host-expat host-ncurses
+# As for libiberty, gdb may use a system-installed one if present, so
+# we must ensure ours is installed first.
+HOST_GDB_DEPENDENCIES = host-expat host-libiberty host-ncurses
# Disable building documentation
GDB_MAKE_OPTS += MAKEINFO=true