From 4d7fb0571e292b1ce80d08bcf5c274bbd89742b4 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 26 Apr 2015 22:31:48 +0200 Subject: [PATCH] package/gnuchess: needs c++ Quoted from ChangeLog: 2013-11-23 Antonio Ceballos [...] * doc/gnuchess.texi: frontend no longer compiled in C; now in C++. Fixes http://autobuild.buildroot.net/results/04e/04e7c14c20f0e056e63a712be3821a3f5c94cff1/ Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/gnuchess/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/gnuchess/Config.in b/package/gnuchess/Config.in index 13ae801fb8..aa446f4b22 100644 --- a/package/gnuchess/Config.in +++ b/package/gnuchess/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_GNUCHESS bool "gnuchess" + depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_FLEX help @@ -7,5 +8,5 @@ config BR2_PACKAGE_GNUCHESS http://ftp.gnu.org/pub/gnu/chess -comment "gnuchess needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "gnuchess needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS -- 2.30.2