diff --git a/package/sqlitecpp/Config.in b/package/sqlitecpp/Config.in index 36ee4b73f9..31de9a3904 100644 --- a/package/sqlitecpp/Config.in +++ b/package/sqlitecpp/Config.in @@ -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