package/sqlitecpp: require C++11

[0] lists gcc 4.8.4 as minimum version. Since we don't have
a guard for patch versions depend on gcc 4.9

[0] http://srombauts.github.io/SQLiteCpp/#supported-platforms

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Michael Nosthoff
2024-07-10 17:57:54 +02:00
committed by Thomas Petazzoni
parent 39d23ce823
commit 8b651fd817

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_SQLITECPP
bool "sqlitecpp"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
help
@@ -9,5 +10,5 @@ config BR2_PACKAGE_SQLITECPP
https://github.com/SRombauts/SQLiteCpp
comment "sqlitecpp needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
comment "sqlitecpp needs a toolchain w/ C++11, gcc >= 4.9"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9