diff mbox series

[1/1] cutelyst: depends on C++11

Message ID 20180827165404.22151-1-fontaine.fabrice@gmail.com
State Accepted
Commit 68fe6d7d00ad5c998ee05d48cf1dbb6450621966
Headers show
Series [1/1] cutelyst: depends on C++11 | expand

Commit Message

Fabrice Fontaine Aug. 27, 2018, 4:54 p.m. UTC
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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/cutelyst/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Peter Korsgaard Aug. 27, 2018, 10:02 p.m. UTC | #1
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> 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

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.
diff mbox series

Patch

diff --git a/package/cutelyst/Config.in b/package/cutelyst/Config.in
index 5a3974a454..91b559bd18 100644
--- a/package/cutelyst/Config.in
+++ b/package/cutelyst/Config.in
@@ -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