[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 <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
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
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