[Buildroot] [PATCH] lirc-tools: needs a C++ toolchain

Baruch Siach baruch at tkos.co.il
Tue Apr 12 05:52:06 UTC 2016


NEWS file record for version 0.9.3:

  * The compiler has been switched to c++, and filenames are
	updated to *.cpp (#79)

Fixes:
http://autobuild.buildroot.net/results/63b/63b1e427df1d6f264517a028655ac80d8d289254/
http://autobuild.buildroot.net/results/340/3409a4af78c83ea354d861052521f634347cd69a/
http://autobuild.buildroot.net/results/88a/88a117c229286ed739bd0ef832fa01a99825286a/

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 package/lirc-tools/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/lirc-tools/Config.in b/package/lirc-tools/Config.in
index 3bee0949cae1..3dd202f284ed 100644
--- a/package/lirc-tools/Config.in
+++ b/package/lirc-tools/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIRC_TOOLS
 	bool "lirc-tools"
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_TOOLCHAIN_USES_MUSL # GLOB_BRACE
 	# dlopen()
 	depends on !BR2_STATIC_LIBS
@@ -18,7 +19,7 @@ config BR2_PACKAGE_LIRC_TOOLS
 
 	  http://www.lirc.org/
 
-comment "lirc-tools needs a uClibc or (e)glibc toolchain w/ threads, dynamic library"
+comment "lirc-tools needs a uClibc or (e)glibc toolchain w/ threads, dynamic library, C++"
 	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
-		|| BR2_TOOLCHAIN_USES_MUSL
+		|| !BR2_INSTALL_LIBSTDCPP || BR2_TOOLCHAIN_USES_MUSL
-- 
2.8.0.rc3



More information about the buildroot mailing list