lirc-tools: needs a C++ toolchain
authorBaruch Siach <baruch@tkos.co.il>
Tue, 12 Apr 2016 05:52:06 +0000 (08:52 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 13 Apr 2016 08:17:44 +0000 (10:17 +0200)
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@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lirc-tools/Config.in

index 3bee0949cae1627dbb0e5ddf06a984bff9b92cd5..3dd202f284ed33876506481a868b748701491f00 100644 (file)
@@ -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