Browse Source

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>
Michael Nosthoff 1 year ago
parent
commit
8b651fd817
1 changed files with 3 additions and 2 deletions
  1. 3 2
      package/sqlitecpp/Config.in

+ 3 - 2
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