package/sdbusplus: needs C++17

sdbusplus needs C++17 since
ca46b9d2e9

This is not needed for host-sdbusplus as libsdbusplus is disabled on
host through --disable-libsdbusplus

Fixes:
 - http://autobuild.buildroot.org/results/65a4652e5b419f03ace109c4b3738e9b997cdabe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: John Faith <jfaith@impinj.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-03-26 21:38:20 +01:00 committed by Thomas Petazzoni
parent 0abfa1b69a
commit d127c5e4ea

View File

@ -2,6 +2,7 @@ config BR2_PACKAGE_SDBUSPLUS
bool "sdbusplus"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_SYSTEMD
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
help
A C++ library for sd-bus with a bindings and doc generator.
@ -10,5 +11,6 @@ config BR2_PACKAGE_SDBUSPLUS
https://github.com/openbmc/sdbusplus
comment "sdbusplus needs systemd and a toolchain w/ C++"
depends on !BR2_PACKAGE_SYSTEMD || !BR2_INSTALL_LIBSTDCPP
comment "sdbusplus needs systemd and a toolchain w/ C++, gcc >= 7"
depends on !BR2_PACKAGE_SYSTEMD || !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7