Skip to contentSkip to conversation

cutelyst: depends on C++11

PATCH New Fabrice Fontaine 2 participants 2 messages Aug 27, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cutelyst: depends on C++11

thread-local storage is a C++11 feature available since gcc 4.8:
https://gcc.gnu.org/projects/cxx-status.html#cxx11

Fixes:
- http://autobuild.buildroot.net/results/2963bd55cd7c33ded3e5a75fc86079acfae844c1

---
 package/cutelyst/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/cutelyst/Config.in +6 -0
index 5a3974a454..91b559bd18 100644
@@ -1,6 +1,8 @@
 config BR2_PACKAGE_CUTELYST
 	bool "cutelyst"
 	depends on BR2_PACKAGE_QT5
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_QT5BASE_GUI
 	help
@@ -8,3 +10,7 @@ config BR2_PACKAGE_CUTELYST
 	  the simple approach of Catalyst (Perl) framework.
 
 	  https://cutelyst.org
+
+comment "cutelyst needs a toolchain w/ C++, gcc >= 4.8"
+	depends on BR2_PACKAGE_QT5
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 cutelyst: depends on C++11

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

thread-local storage is a C++11 feature available since gcc 4.8:
https://gcc.gnu.org/projects/cxx-status.html#cxx11

Fixes:
- http://autobuild.buildroot.net/results/2963bd55cd7c33ded3e5a75fc86079acfae844c1

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard