From: Thomas Petazzoni Date: Sun, 13 Nov 2011 08:55:56 +0000 (+0100) Subject: target gdb: depend on thread support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=096c185c19d66c6904109b621e14a6ef44c7d9ac;p=buildroot.git target gdb: depend on thread support Compiling gdb for the target requires thread support in the C library, otherwise: /home/test/outputs/test-888/toolchain/gdb-7.3.1/gdb/gdb_thread_db.h:37:21: fatal error: pthread.h: No such file or directory Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/gdb/Config.in b/toolchain/gdb/Config.in index af6e56aacd..8a02255304 100644 --- a/toolchain/gdb/Config.in +++ b/toolchain/gdb/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_GDB bool "Build gdb debugger for the Target" select BR2_PACKAGE_NCURSES depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_sh && !BR2_sh64 help Build the full gdb debugger to run on the target.