google-breakpad: needs thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 19 Sep 2016 14:50:46 +0000 (16:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 19 Sep 2016 14:50:46 +0000 (16:50 +0200)
When google-breakpad was enabled in uClibc configurations, the
dependency on threads was forgotten.

Fixes:

  http://autobuild.buildroot.net/results/6e6bc845314100f2deb8ed06d2a6373ccf715ffe/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in
package/google-breakpad/Config.in

index dcd15e883ab09b6708dcf9bd35de995fac913a12..8d37c93806d6589265f2fc59e4e5ed71c94105dc 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -554,6 +554,7 @@ config BR2_GOOGLE_BREAKPAD_ENABLE
        select BR2_PACKAGE_GOOGLE_BREAKPAD
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC)
        depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
        help
index fdaab7a66565e8c76755f861ed709a72fc11899e..c800974dbc71c69f987a8278d8f0ffc61c996053 100644 (file)
@@ -7,6 +7,7 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD
        bool "google-breakpad"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC)
        depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
        help
@@ -30,7 +31,8 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD
 
          http://code.google.com/p/google-breakpad/
 
-comment "google-breakpad requires a glibc or uClibc toolchain w/ wchar, C++ enabled"
+comment "google-breakpad requires a glibc or uClibc toolchain w/ wchar, thread, C++ enabled"
        depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+               !BR2_TOOLCHAIN_HAS_THREADS || \
                !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC)