cutelyst: depends on C++11
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 27 Aug 2018 16:54:04 +0000 (18:54 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 27 Aug 2018 22:01:00 +0000 (00:01 +0200)
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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cutelyst/Config.in

index 5a3974a4544ba24cc732f4383b7b7d93935cddff..91b559bd182ec76174b846480e980ab345b40e99 100644 (file)
@@ -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