package/google-breakpad: add C++11 dependency on the host variant
authorRomain Naour <romain.naour@gmail.com>
Mon, 19 Dec 2016 20:25:25 +0000 (21:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 19 Dec 2016 21:21:31 +0000 (22:21 +0100)
When google-breakpad has been updated to the latest version, the C++11
dependency has been added for the target variant only.
The C++11 dependency is also required for the host variant.

Fixes:
http://autobuild.buildroot.org/results/dce/dcecb17116c0cf400c98f0052c9bf71f15d0d398

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

index 7ea1e60692cc0b50ef2e982d53b9d24eae5ac6a0..d3bb7b8377c44c785f908a244f4b51df64227751 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -529,6 +529,7 @@ config BR2_GOOGLE_BREAKPAD_ENABLE
        bool "Enable google-breakpad support"
        select BR2_PACKAGE_GOOGLE_BREAKPAD
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_HOST_GCC_AT_LEAST_4_7 # C++11
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS
index 31ca4220248c8bf7465459b7ad752aea2b2f7e2a..c6171afefd3e46823d3d605e97a53654f9eccc9f 100644 (file)
@@ -6,6 +6,7 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
 config BR2_PACKAGE_GOOGLE_BREAKPAD
        bool "google-breakpad"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_HOST_GCC_AT_LEAST_4_7 # C++11
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -38,4 +39,4 @@ comment "google-breakpad requires a glibc or uClibc toolchain w/ wchar, thread,
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
                !BR2_TOOLCHAIN_HAS_THREADS || \
                !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) || \
-               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_HOST_GCC_AT_LEAST_4_7