瀏覽代碼

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>
Adam Duskett 5 年之前
父節點
當前提交
f0a583ddc4
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      package/gdb/gdb.mk

+ 3 - 1
package/gdb/gdb.mk

@@ -35,7 +35,9 @@ endif
 # For the host variant, we really want to build with XML support,
 # For the host variant, we really want to build with XML support,
 # which is needed to read XML descriptions of target architectures. We
 # which is needed to read XML descriptions of target architectures. We
 # also need ncurses.
 # 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
 # Disable building documentation
 GDB_MAKE_OPTS += MAKEINFO=true
 GDB_MAKE_OPTS += MAKEINFO=true