package/collectd: fix grpc dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 4 Nov 2020 06:36:37 +0000 (07:36 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 4 Nov 2020 07:33:11 +0000 (08:33 +0100)
Commit e98610f039b88a5d164b19343d5ecef2d1c01f6d forgot to propagate
libabseil-cpp dependencies to BR2_PACKAGE_COLLECTD_GRPC

Fixes:
 - http://autobuild.buildroot.org/results/c9bacfb52ae46ab78a5f9097a8df83e10d23ccc4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/collectd/Config.in

index 7037a8b38394f96829dbcbaca1827888fb24726c..3e854ba51809535b17e2b6bf1e3f3f966845b1d3 100644 (file)
@@ -605,15 +605,17 @@ config BR2_PACKAGE_COLLECTD_GRPC
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC # grpc
        depends on BR2_INSTALL_LIBSTDCPP # grpc -> protobuf
        depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # grpc -> protobuf
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # grpc -> protobuf
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # grpc -> libabseil-cpp
+       depends on BR2_HOST_GCC_AT_LEAST_4_9 # grpc -> host-libabseil-cpp
        depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # grpc
        select BR2_PACKAGE_GRPC
        help
          Send/receive values using the gRPC protocol.
 
-comment "grpc needs a toolchain w/ C++, gcc >= 4.8"
+comment "grpc needs a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9"
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
+               || !BR2_HOST_GCC_AT_LEAST_4_9
        depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
        depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # grpc