[Buildroot] [git commit] taskd: needs C++

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Mar 14 22:43:44 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=ea9d0c93974bffb69c0e8ad9086d32425d883d2d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

It's all C++ code... C++11 even, but it turns out to compile fine even
with gcc-4.5 (Arago toolchain).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/taskd/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/taskd/Config.in b/package/taskd/Config.in
index 2836161..7a9a136 100644
--- a/package/taskd/Config.in
+++ b/package/taskd/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_TASKD
 	bool "taskd"
 	depends on BR2_USE_WCHAR # gnutls, util-linux
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_GNUTLS
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
@@ -10,6 +11,6 @@ config BR2_PACKAGE_TASKD
 
 	  http://taskwarrior.org/
 
-comment "taskd needs a toolchain w/ wchar"
+comment "taskd needs a toolchain w/ C++, wchar"
 	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR
+	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP


More information about the buildroot mailing list