protobuf: add dependency on gcc >= 4.8

Since version 3.6.0, protobuf requires C++11

Fixes:
 - http://autobuild.buildroot.net/results/bb299008423edf4c65ade6c159e33c4216428bf1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine
2018-06-23 17:32:32 +02:00
committed by Peter Korsgaard
parent c4e4110d22
commit 5dd74dbd1a
6 changed files with 20 additions and 20 deletions

View File

@@ -559,7 +559,7 @@ config BR2_PACKAGE_COLLECTD_RIEMANN
# riemann-c-client -> protobuf-c
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on BR2_HOST_GCC_AT_LEAST_4_5
depends on BR2_HOST_GCC_AT_LEAST_4_8
select BR2_PACKAGE_RIEMANN_C_CLIENT
select BR2_PACKAGE_LIBTOOL
help
@@ -588,15 +588,15 @@ config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS
bool "write_prometheus"
depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
depends on BR2_HOST_GCC_AT_LEAST_4_5 # protobuf-c
depends on BR2_HOST_GCC_AT_LEAST_4_8 # protobuf-c
select BR2_PACKAGE_LIBMICROHTTPD
select BR2_PACKAGE_PROTOBUF_C
help
Publishes values using an embedded HTTP server, in a format
compatible with Prometheus' collectd_exporter.
comment "write_prometheus needs a toolchain w/ C++, host gcc >= 4.5"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_4_5
comment "write_prometheus needs a toolchain w/ C++, host gcc >= 4.8"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_4_8
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
config BR2_PACKAGE_COLLECTD_WRITESENSU