Skip to contentSkip to conversation

package/sqlitecpp: require C++11

PATCH Applied Michael Nosthoff via buildroot 1 participant 2 messages Jul 10, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/sqlitecpp/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/sqlitecpp/Config.in +3 -2
index 36ee4b73f9..31de9a3904 100644
@@ -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
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · On Wed, 10 Jul 2024 17:57:54 +0200 Michael Nosthoff via buildroot…

[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

---
 package/sqlitecpp/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot